aboutsummaryrefslogtreecommitdiff
path: root/repos/extra/p7zip/abuild
diff options
context:
space:
mode:
authoremmett1 <emmett1.2miligrams@protonmail.com>2025-04-10 07:26:30 +0800
committeremmett1 <emmett1.2miligrams@protonmail.com>2025-04-10 07:26:30 +0800
commita64930636462bf24118ca7266f699ce2b696e821 (patch)
tree58d116ac5f03aa9e84ece6e4ffa6b489573042a4 /repos/extra/p7zip/abuild
parentddd8e1a8fab2ac39396282a7c09ddf6eca219613 (diff)
downloadalicelinux-a64930636462bf24118ca7266f699ce2b696e821.tar.gz
alicelinux-a64930636462bf24118ca7266f699ce2b696e821.zip
clang branch updated
Diffstat (limited to 'repos/extra/p7zip/abuild')
-rw-r--r--repos/extra/p7zip/abuild13
1 files changed, 13 insertions, 0 deletions
diff --git a/repos/extra/p7zip/abuild b/repos/extra/p7zip/abuild
new file mode 100644
index 00000000..20f63583
--- /dev/null
+++ b/repos/extra/p7zip/abuild
@@ -0,0 +1,13 @@
+name=p7zip
+version=17.06
+release=1
+source="https://github.com/$name-project/$name/archive/v$version/$name-$version.tar.gz"
+
+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
+}