aboutsummaryrefslogtreecommitdiff
path: root/p7zip/abuild
diff options
context:
space:
mode:
authorWoodpecker CI <emmett1.2miligrams@protonmail.com>2025-06-03 14:32:36 +0000
committerWoodpecker CI <emmett1.2miligrams@protonmail.com>2025-06-03 14:32:36 +0000
commit93a354611e38a6949add5c2e5ccc93ef79b9755f (patch)
tree7fee41752b1047d74c59f8ee046cd62735e7e934 /p7zip/abuild
parent35912580b66e9439f91ea441938828ad8aa33b0d (diff)
downloadalicelinux-93a354611e38a6949add5c2e5ccc93ef79b9755f.tar.gz
alicelinux-93a354611e38a6949add5c2e5ccc93ef79b9755f.zip
Woodpecker CI 5171f1fdd74e7137c305450dd69a29fa5be4143f [SKIP CI]
Diffstat (limited to 'p7zip/abuild')
-rw-r--r--p7zip/abuild14
1 files changed, 14 insertions, 0 deletions
diff --git a/p7zip/abuild b/p7zip/abuild
new file mode 100644
index 00000000..3cb5cdef
--- /dev/null
+++ b/p7zip/abuild
@@ -0,0 +1,14 @@
+name=p7zip
+version=17.06
+release=1
+source="https://github.com/$name-project/$name/archive/v$version/$name-$version.tar.gz
+ fix-uintxx_t-redefined.patch"
+
+build() {
+ sed '/^gzip/d' -i install.sh
+ sed -i '160a if(_buffer == nullptr || _size == _pos) return E_FAIL;' CPP/7zip/Common/StreamObjects.cpp
+ make all3
+ make DEST_HOME=/usr \
+ DEST_MAN=/usr/share/man \
+ DEST_DIR=$PKG install
+}