summaryrefslogtreecommitdiffstats
path: root/abs/core/lz4
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2015-08-07 17:33:07 (GMT)
committerBritney Fransen <brfransen@gmail.com>2015-08-07 17:33:07 (GMT)
commit90e88a2c7e5ffafd09c05c3925d70e01420b1d23 (patch)
tree543464c2cecf3dda3c1764142cec55c902c8b17f /abs/core/lz4
parent2f19f06e4cd2f8f65774f37080e4856fb69beabf (diff)
downloadlinhes_pkgbuild-90e88a2c7e5ffafd09c05c3925d70e01420b1d23.zip
linhes_pkgbuild-90e88a2c7e5ffafd09c05c3925d70e01420b1d23.tar.gz
linhes_pkgbuild-90e88a2c7e5ffafd09c05c3925d70e01420b1d23.tar.bz2
lz4: initial inclusion
Diffstat (limited to 'abs/core/lz4')
-rw-r--r--abs/core/lz4/PKGBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/abs/core/lz4/PKGBUILD b/abs/core/lz4/PKGBUILD
new file mode 100644
index 0000000..cce3553
--- /dev/null
+++ b/abs/core/lz4/PKGBUILD
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Sébastien Luttringer
+
+# Contacted by mail, author use svn commit as release version.
+# He only push tested release code into svn and support using revision as version
+
+pkgname=lz4
+pkgver=131
+pkgrel=1
+pkgdesc='Very fast lossless compression algorithm'
+arch=('i686' 'x86_64')
+url='https://github.com/Cyan4973/lz4'
+license=('GPL2')
+makedepends=('git')
+checkdepends=('diffutils')
+depends=('glibc')
+source=("git+https://github.com/Cyan4973/lz4.git#tag=r$pkgver")
+md5sums=('SKIP')
+
+build() {
+ cd $pkgname
+ make PREFIX=/usr
+}
+
+check() {
+ $pkgname/programs/lz4 /etc/passwd passwd.lz4
+ $pkgname/programs/lz4 -d passwd.lz4 passwd
+ diff -q /etc/passwd passwd
+ rm passwd
+}
+
+package() {
+ cd $pkgname
+ make install PREFIX=/usr DESTDIR="$pkgdir"
+}
+
+# vim:set ts=2 sw=2 et: