[arch-commits] Commit in lz4/repos (6 files)
Sébastien Luttringer
seblu at archlinux.org
Sat Dec 13 15:53:00 UTC 2014
Date: Saturday, December 13, 2014 @ 16:52:58
Author: seblu
Revision: 227586
archrelease: copy trunk to testing-i686, testing-x86_64
Added:
lz4/repos/testing-i686/
lz4/repos/testing-i686/01-no-sudo.patch
(from rev 227585, lz4/trunk/01-no-sudo.patch)
lz4/repos/testing-i686/PKGBUILD
(from rev 227585, lz4/trunk/PKGBUILD)
lz4/repos/testing-x86_64/
lz4/repos/testing-x86_64/01-no-sudo.patch
(from rev 227585, lz4/trunk/01-no-sudo.patch)
lz4/repos/testing-x86_64/PKGBUILD
(from rev 227585, lz4/trunk/PKGBUILD)
---------------------------------+
testing-i686/01-no-sudo.patch | 13 +++++++++++
testing-i686/PKGBUILD | 43 ++++++++++++++++++++++++++++++++++++++
testing-x86_64/01-no-sudo.patch | 13 +++++++++++
testing-x86_64/PKGBUILD | 43 ++++++++++++++++++++++++++++++++++++++
4 files changed, 112 insertions(+)
Copied: lz4/repos/testing-i686/01-no-sudo.patch (from rev 227585, lz4/trunk/01-no-sudo.patch)
===================================================================
--- testing-i686/01-no-sudo.patch (rev 0)
+++ testing-i686/01-no-sudo.patch 2014-12-13 15:52:58 UTC (rev 227586)
@@ -0,0 +1,13 @@
+--- a/Makefile 2014-12-13 13:22:59.470287957 +0100
++++ b/Makefile 2014-12-13 16:48:35.988030397 +0100
+@@ -93,8 +93,8 @@
+ ifneq (,$(filter $(shell uname),Linux Darwin GNU/kFreeBSD GNU))
+
+ install:
+- @cd $(LZ4DIR); sudo $(MAKE) -e install
+- @cd $(PRGDIR); sudo $(MAKE) -e install
++ @cd $(LZ4DIR); $(MAKE) -e install
++ @cd $(PRGDIR); $(MAKE) -e install
+
+ uninstall:
+ @cd $(LZ4DIR); $(MAKE) uninstall
Copied: lz4/repos/testing-i686/PKGBUILD (from rev 227585, lz4/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD (rev 0)
+++ testing-i686/PKGBUILD 2014-12-13 15:52:58 UTC (rev 227586)
@@ -0,0 +1,43 @@
+# $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=125
+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"
+ '01-no-sudo.patch')
+md5sums=('SKIP'
+ '316915aff147579235092f3081447802')
+
+prepare() {
+ patch -d $pkgname -p1 < 01-no-sudo.patch
+}
+
+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/01-no-sudo.patch (from rev 227585, lz4/trunk/01-no-sudo.patch)
===================================================================
--- testing-x86_64/01-no-sudo.patch (rev 0)
+++ testing-x86_64/01-no-sudo.patch 2014-12-13 15:52:58 UTC (rev 227586)
@@ -0,0 +1,13 @@
+--- a/Makefile 2014-12-13 13:22:59.470287957 +0100
++++ b/Makefile 2014-12-13 16:48:35.988030397 +0100
+@@ -93,8 +93,8 @@
+ ifneq (,$(filter $(shell uname),Linux Darwin GNU/kFreeBSD GNU))
+
+ install:
+- @cd $(LZ4DIR); sudo $(MAKE) -e install
+- @cd $(PRGDIR); sudo $(MAKE) -e install
++ @cd $(LZ4DIR); $(MAKE) -e install
++ @cd $(PRGDIR); $(MAKE) -e install
+
+ uninstall:
+ @cd $(LZ4DIR); $(MAKE) uninstall
Copied: lz4/repos/testing-x86_64/PKGBUILD (from rev 227585, lz4/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2014-12-13 15:52:58 UTC (rev 227586)
@@ -0,0 +1,43 @@
+# $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=125
+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"
+ '01-no-sudo.patch')
+md5sums=('SKIP'
+ '316915aff147579235092f3081447802')
+
+prepare() {
+ patch -d $pkgname -p1 < 01-no-sudo.patch
+}
+
+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