Skip to content
Snippets Groups Projects
Commit 499547dd authored by Sébastien Luttringer's avatar Sébastien Luttringer
Browse files

fix FS#50071

parent 554665a8
No related branches found
Tags 1-1.9.3-1
No related merge requests found
......@@ -5,7 +5,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'
......@@ -17,11 +17,15 @@ source=("git+https://github.com/Cyan4973/lz4.git#tag=r$pkgver")
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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment