[arch-commits] Commit in lz4/trunk (PKGBUILD)

Sébastien Luttringer seblu at archlinux.org
Sat Aug 20 01:17:22 UTC 2016


    Date: Saturday, August 20, 2016 @ 01:17:21
  Author: seblu
Revision: 273990

upgpkg: lz4 131-2

- fix FS#50071

Modified:
  lz4/trunk/PKGBUILD

----------+
 PKGBUILD |    8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-08-20 00:39:10 UTC (rev 273989)
+++ PKGBUILD	2016-08-20 01:17:21 UTC (rev 273990)
@@ -6,7 +6,7 @@
 
 pkgname=lz4
 pkgver=131
-pkgrel=1
+pkgrel=2
 pkgdesc='Very fast lossless compression algorithm'
 arch=('i686' 'x86_64')
 url='https://github.com/Cyan4973/lz4'
@@ -18,11 +18,15 @@
 md5sums=('SKIP')
 
 build() {
+  # do not use the main makefile, it calls sub make with -e
+  # exported CLFAGS by makepkg break the version. see FS#50071
   cd $pkgname
-  make PREFIX=/usr
+  make -C lib PREFIX=/usr
+  make -C programs PREFIX=/usr lz4 lz4c
 }
 
 check() {
+  rm -f passwd.lz4
   $pkgname/programs/lz4 /etc/passwd passwd.lz4
   $pkgname/programs/lz4 -d passwd.lz4 passwd
   diff -q /etc/passwd passwd



More information about the arch-commits mailing list