summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD7
2 files changed, 3 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 61774b6..a9bf14c 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = 7zip
pkgdesc = File archiver for extremely high compression
pkgver = 24.09
- pkgrel = 2
+ pkgrel = 3
url = https://www.7-zip.org
arch = x86_64
license = LGPL-2.1-or-later
diff --git a/PKGBUILD b/PKGBUILD
index bfbe5a8..e6f91a8 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=7zip
pkgver=24.09
-pkgrel=2
+pkgrel=3
pkgdesc="File archiver for extremely high compression"
arch=('x86_64')
url="https://www.7-zip.org"
@@ -15,10 +15,6 @@ replaces=('p7zip')
source=(https://7-zip.org/a/7z${pkgver//./}-src.tar.xz)
sha256sums=('49c05169f49572c1128453579af1632a952409ced028259381dac30726b6133a')
-prepare() {
- sed -i '/^LFLAGS_ALL = /s/$(LFLAGS_STRIP)//' CPP/7zip/7zip_gcc.mak
-}
-
build() {
local _platform_flags=()
@@ -36,6 +32,7 @@ build() {
for component in Bundles/{Alone,Alone7z,Format7zF,SFXCon} UI/Console; do
make -C CPP/7zip/$component -f ../../cmpl_gcc.mak "${_platform_flags[@]}" \
+ LFLAGS_STRIP= \
CC="cc $CPPFLAGS $CFLAGS $LDFLAGS" \
CXX="g++ $CPPFLAGS $CXXFLAGS $LDFLAGS"
done