[arch-commits] Commit in unrar/trunk (PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Tue Apr 2 08:24:43 UTC 2019
Date: Tuesday, April 2, 2019 @ 08:24:42
Author: arojas
Revision: 349596
Update to 5.7.4, respect system build flags
Modified:
unrar/trunk/PKGBUILD
----------+
PKGBUILD | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-04-02 08:22:10 UTC (rev 349595)
+++ PKGBUILD 2019-04-02 08:24:42 UTC (rev 349596)
@@ -4,7 +4,7 @@
pkgbase=unrar
pkgname=(unrar libunrar)
-pkgver=5.7.3
+pkgver=5.7.4
pkgrel=1
epoch=1
arch=(x86_64)
@@ -11,10 +11,15 @@
url="https://www.rarlab.com/rar_add.htm"
license=(custom)
source=("https://www.rarlab.com/rar/unrarsrc-${pkgver}.tar.gz")
-sha256sums=('40e856b78374f258d8a1f5f02c02f828c5392a0118c9300fd169a300b520a444')
+sha256sums=('582dd038fd4632f32493928cae5b37dbb436752813da08a1ee5df2ab1ee7e7b4')
+prepare() {
+ sed -e '/CXXFLAGS=/d' -e '/LDFLAGS=/d' -i unrar/makefile # Use system build flags
+}
+
build() {
cp -a unrar libunrar
+ export LDFLAGS+=' -pthread'
make -C libunrar lib
make -C unrar STRIP="true"
}
More information about the arch-commits
mailing list