[arch-commits] Commit in lz4/repos (4 files)

Sébastien Luttringer seblu at archlinux.org
Wed Nov 12 21:39:34 UTC 2014


    Date: Wednesday, November 12, 2014 @ 22:39:34
  Author: seblu
Revision: 226151

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  lz4/repos/testing-i686/
  lz4/repos/testing-i686/PKGBUILD
    (from rev 226150, lz4/trunk/PKGBUILD)
  lz4/repos/testing-x86_64/
  lz4/repos/testing-x86_64/PKGBUILD
    (from rev 226150, lz4/trunk/PKGBUILD)

-------------------------+
 testing-i686/PKGBUILD   |   37 +++++++++++++++++++++++++++++++++++++
 testing-x86_64/PKGBUILD |   37 +++++++++++++++++++++++++++++++++++++
 2 files changed, 74 insertions(+)

Copied: lz4/repos/testing-i686/PKGBUILD (from rev 226150, lz4/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2014-11-12 21:39:34 UTC (rev 226151)
@@ -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=124
+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:

Copied: lz4/repos/testing-x86_64/PKGBUILD (from rev 226150, lz4/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2014-11-12 21:39:34 UTC (rev 226151)
@@ -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=124
+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:


More information about the arch-commits mailing list