aboutsummaryrefslogtreecommitdiff
path: root/repos/extra/p7zip/abuild
diff options
context:
space:
mode:
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
+}