summaryrefslogtreecommitdiff
path: root/PKGBUILD
diff options
context:
space:
mode:
authorEvangelos Foutras <foutrelis@archlinux.org>2024-12-25 17:55:36 +0200
committerEvangelos Foutras <foutrelis@archlinux.org>2024-12-25 17:55:36 +0200
commit78060211cd30c74b923c455af0434a4e38875b56 (patch)
tree618285309936a91b5d5809c8dec3fda1757280e9 /PKGBUILD
parent3d5e761744fb0e46a9818dd03d113a98e09e1253 (diff)
upgpkg: 24.09-3
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD7
1 files changed, 2 insertions, 5 deletions
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