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

Sébastien Luttringer seblu at archlinux.org
Sat Aug 20 01:17:49 UTC 2016


    Date: Saturday, August 20, 2016 @ 01:17:48
  Author: seblu
Revision: 273991

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

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

-------------------------+
 testing-i686/PKGBUILD   |   41 +++++++++++++++++++++++++++++++++++++++++
 testing-x86_64/PKGBUILD |   41 +++++++++++++++++++++++++++++++++++++++++
 2 files changed, 82 insertions(+)

Copied: lz4/repos/testing-i686/PKGBUILD (from rev 273990, lz4/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2016-08-20 01:17:48 UTC (rev 273991)
@@ -0,0 +1,41 @@
+# $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=2
+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() {
+  # do not use the main makefile, it calls sub make with -e
+  # exported CLFAGS by makepkg break the version. see FS#50071
+  cd $pkgname
+  make -C lib PREFIX=/usr
+  make -C programs PREFIX=/usr lz4 lz4c
+}
+
+check() {
+  rm -f passwd.lz4
+  $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:

Copied: lz4/repos/testing-x86_64/PKGBUILD (from rev 273990, lz4/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2016-08-20 01:17:48 UTC (rev 273991)
@@ -0,0 +1,41 @@
+# $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=2
+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() {
+  # do not use the main makefile, it calls sub make with -e
+  # exported CLFAGS by makepkg break the version. see FS#50071
+  cd $pkgname
+  make -C lib PREFIX=/usr
+  make -C programs PREFIX=/usr lz4 lz4c
+}
+
+check() {
+  rm -f passwd.lz4
+  $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:



More information about the arch-commits mailing list