From 90e88a2c7e5ffafd09c05c3925d70e01420b1d23 Mon Sep 17 00:00:00 2001
From: Britney Fransen <brfransen@gmail.com>
Date: Fri, 7 Aug 2015 17:33:07 +0000
Subject: lz4: initial inclusion

---
 abs/core/lz4/PKGBUILD | 37 +++++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)
 create mode 100644 abs/core/lz4/PKGBUILD

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:
-- 
cgit v0.12

