aboutsummaryrefslogtreecommitdiff
path: root/repos/extra/p7zip
diff options
context:
space:
mode:
authoremmett1 <emmett1.2miligrams@protonmail.com>2024-05-24 12:22:12 +0800
committeremmett1 <emmett1.2miligrams@protonmail.com>2024-05-24 12:22:12 +0800
commit46ca440e9d6cc606d9c3233021e32d24b25172cf (patch)
treeeeb573e47ac56498fbf74bda6d22fac47038ecab /repos/extra/p7zip
parent8c2e7bb570c11a51fdcecf7302af4058757d862c (diff)
downloadalicelinux-46ca440e9d6cc606d9c3233021e32d24b25172cf.tar.gz
alicelinux-46ca440e9d6cc606d9c3233021e32d24b25172cf.zip
added repos
Diffstat (limited to 'repos/extra/p7zip')
-rw-r--r--repos/extra/p7zip/.files20
-rw-r--r--repos/extra/p7zip/build6
-rw-r--r--repos/extra/p7zip/info4
3 files changed, 30 insertions, 0 deletions
diff --git a/repos/extra/p7zip/.files b/repos/extra/p7zip/.files
new file mode 100644
index 00000000..3d4adfb1
--- /dev/null
+++ b/repos/extra/p7zip/.files
@@ -0,0 +1,20 @@
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/bin/
+-rwxr-xr-x root/root usr/bin/7z
+-rwxr-xr-x root/root usr/bin/7za
+-rwxr-xr-x root/root usr/bin/7zr
+drwxr-xr-x root/root usr/lib/
+drwxr-xr-x root/root usr/lib/p7zip/
+-rwxr-xr-x root/root usr/lib/p7zip/7z
+-rwxr-xr-x root/root usr/lib/p7zip/7z.so
+-rwxr-xr-x root/root usr/lib/p7zip/7zCon.sfx
+-rwxr-xr-x root/root usr/lib/p7zip/7za
+-rwxr-xr-x root/root usr/lib/p7zip/7zr
+drwxr-xr-x root/root usr/lib/p7zip/Codecs/
+-rwxr-xr-x root/root usr/lib/p7zip/Codecs/Rar.so
+drwxr-xr-x root/root usr/share/
+drwxr-xr-x root/root usr/share/man/
+drwxr-xr-x root/root usr/share/man/man1/
+-rw-r--r-- root/root usr/share/man/man1/7z.1.gz
+-rw-r--r-- root/root usr/share/man/man1/7za.1.gz
+-rw-r--r-- root/root usr/share/man/man1/7zr.1.gz
diff --git a/repos/extra/p7zip/build b/repos/extra/p7zip/build
new file mode 100644
index 00000000..5defb8d2
--- /dev/null
+++ b/repos/extra/p7zip/build
@@ -0,0 +1,6 @@
+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
diff --git a/repos/extra/p7zip/info b/repos/extra/p7zip/info
new file mode 100644
index 00000000..16267dba
--- /dev/null
+++ b/repos/extra/p7zip/info
@@ -0,0 +1,4 @@
+name=p7zip
+version=17.05
+release=1
+source="https://github.com/$name-project/$name/archive/v$version/$name-$version.tar.gz"