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

Sébastien Luttringer seblu at archlinux.org
Fri Sep 5 22:40:13 UTC 2014


    Date: Saturday, September 6, 2014 @ 00:40:13
  Author: seblu
Revision: 221027

community2extra: Moving lz4 from community to extra

Added:
  lz4/
  lz4/repos/
  lz4/trunk/
  lz4/trunk/PKGBUILD

----------+
 PKGBUILD |   37 +++++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)

Added: lz4/trunk/PKGBUILD
===================================================================
--- lz4/trunk/PKGBUILD	                        (rev 0)
+++ lz4/trunk/PKGBUILD	2014-09-05 22:40:13 UTC (rev 221027)
@@ -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=122
+pkgrel=1
+pkgdesc='Very fast lossless compression algorithm'
+arch=('i686' 'x86_64')
+url='https://code.google.com/p/lz4/'
+license=('GPL2')
+makedepends=('svn')
+checkdepends=('diffutils')
+depends=('glibc')
+source=("$pkgname::svn+http://lz4.googlecode.com/svn/trunk/#revision=$pkgver")
+md5sums=('SKIP')
+
+build() {
+  cd $pkgname
+  make
+}
+
+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 DESTDIR="$pkgdir"
+}
+
+# vim:set ts=2 sw=2 et:


Property changes on: lz4/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property



More information about the arch-commits mailing list