diff options
author | Hanabishi | 2024-02-05 20:39:04 +0000 |
---|---|---|
committer | Hanabishi | 2024-02-05 20:39:04 +0000 |
commit | 0d320bf17a67588ecb07751e26fec34f5e2db8cf (patch) | |
tree | c82e61a6f6018bb9fbbbcdc6d402a371ef71a299 | |
parent | 7e097b0a01e3b8702f0b9610dc75334f266584ff (diff) | |
download | aur-0d320bf17a67588ecb07751e26fec34f5e2db8cf.tar.gz |
Fix 7z CLI detection by Ark
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | 03-version-string.patch | 5 | ||||
-rw-r--r-- | PKGBUILD | 4 |
3 files changed, 11 insertions, 2 deletions
@@ -1,7 +1,7 @@ pkgbase = 7-zip-full pkgdesc = File archiver with a high compression ratio (full package to replace p7zip) pkgver = 23.01 - pkgrel = 3 + pkgrel = 4 url = https://7-zip.org/ arch = x86_64 arch = i686 @@ -18,9 +18,11 @@ pkgbase = 7-zip-full source = https://7-zip.org/a/7z2301-linux-x64.tar.xz source = 01-make.patch source = 02-lib-load-path.patch + source = 03-version-string.patch sha256sums = 356071007360e5a1824d9904993e8b2480b51b570e8c9faf7c0f58ebe4bf9f74 sha256sums = 23babcab045b78016e443f862363e4ab63c77d75bc715c0b3463f6134cbcf318 sha256sums = 3c6b0ee8ecae06a4f0ff91205989e93e22d03a33e5b7cc6982396c32041fc0a8 sha256sums = 5b49bd8c22f2fcc4e6011adc36c2d7a3fb195ba86596b366974f7b6311d0df00 + sha256sums = 272d0d5ad64738e38f21b4596114824160318322c79a6eb1d69867c57c8f487e pkgname = 7-zip-full diff --git a/03-version-string.patch b/03-version-string.patch new file mode 100644 index 000000000000..3fc86c19a604 --- /dev/null +++ b/03-version-string.patch @@ -0,0 +1,5 @@ +--- a/CPP/7zip/UI/Console/Main.cpp 2023-04-07 18:00:00.000000000 +0000
++++ b/CPP/7zip/UI/Console/Main.cpp 2024-02-04 00:00:00.000000000 +0000
+@@ -122 +122 @@
+- #define PROG_POSTFIX_2 ""
++ #define PROG_POSTFIX_2 " (_)"
@@ -1,7 +1,7 @@ _name=7-zip pkgname=${_name}-full pkgver=23.01 -pkgrel=3 +pkgrel=4 pkgdesc="File archiver with a high compression ratio (full package to replace p7zip)" url="https://7-zip.org/" license=('LGPL') @@ -16,6 +16,7 @@ source=( "${url}a/7z${_sver}-linux-x64.tar.xz" # To get the manual '01-make.patch' '02-lib-load-path.patch' + '03-version-string.patch' # Fix for Ark https://invent.kde.org/utilities/ark/-/merge_requests/232 ) sha256sums=( @@ -23,6 +24,7 @@ sha256sums=( '23babcab045b78016e443f862363e4ab63c77d75bc715c0b3463f6134cbcf318' '3c6b0ee8ecae06a4f0ff91205989e93e22d03a33e5b7cc6982396c32041fc0a8' '5b49bd8c22f2fcc4e6011adc36c2d7a3fb195ba86596b366974f7b6311d0df00' + '272d0d5ad64738e38f21b4596114824160318322c79a6eb1d69867c57c8f487e' ) _msrc="${source[1]##*/}" |