summaryrefslogtreecommitdiff
path: root/community/lz4/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/lz4/PKGBUILD')
-rw-r--r--community/lz4/PKGBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/community/lz4/PKGBUILD b/community/lz4/PKGBUILD
new file mode 100644
index 000000000..e305c8c70
--- /dev/null
+++ b/community/lz4/PKGBUILD
@@ -0,0 +1,30 @@
+# $Id: PKGBUILD 96146 2013-08-20 10:35:29Z seblu $
+# 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=102
+pkgrel=2
+pkgdesc='Very fast lossless compression algorithm'
+arch=('i686' 'x86_64')
+url='https://code.google.com/p/lz4/'
+license=('BSD')
+makedepends=('svn')
+depends=('glibc')
+source=("$pkgname::svn+http://lz4.googlecode.com/svn/trunk/#revision=$pkgver")
+md5sums=('SKIP')
+
+build() {
+ cd $pkgname
+ make
+}
+
+package() {
+ cd $pkgname
+ install -Dm755 lz4c "$pkgdir/usr/bin/lz4c"
+ install -Dm644 cmake/pack/release_COPYING.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+# vim:set ts=2 sw=2 et: