[arch-commits] Commit in lz4/trunk (01-fix-include.patch PKGBUILD)
Sébastien Luttringer
seblu at nymeria.archlinux.org
Tue Jan 7 22:36:18 UTC 2014
Date: Tuesday, January 7, 2014 @ 23:36:18
Author: seblu
Revision: 103557
upgpkg: lz4 111-1
Added:
lz4/trunk/01-fix-include.patch
Modified:
lz4/trunk/PKGBUILD
----------------------+
01-fix-include.patch | 11 +++++++++++
PKGBUILD | 14 +++++++++++---
2 files changed, 22 insertions(+), 3 deletions(-)
Added: 01-fix-include.patch
===================================================================
--- 01-fix-include.patch (rev 0)
+++ 01-fix-include.patch 2014-01-07 22:36:18 UTC (rev 103557)
@@ -0,0 +1,11 @@
+--- a/programs/Makefile 2014-01-07 22:03:45.197517981 +0100
++++ b/programs/Makefile 2014-01-07 22:03:43.126477362 +0100
+@@ -34,7 +34,7 @@
+ DESTDIR=
+ PREFIX=/usr
+ CC=gcc
+-CFLAGS+= -I. -std=c99 -Wall -W -Wundef -DLZ4_VERSION=\"$(RELEASE)\"
++CFLAGS+= -I.. -std=c99 -Wall -W -Wundef -DLZ4_VERSION=\"$(RELEASE)\"
+
+ BINDIR=$(PREFIX)/bin
+ MANDIR=$(PREFIX)/share/man/man1
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2014-01-07 22:26:45 UTC (rev 103556)
+++ PKGBUILD 2014-01-07 22:36:18 UTC (rev 103557)
@@ -5,7 +5,7 @@
# He only push tested release code into svn and support using revision as version
pkgname=lz4
-pkgver=110
+pkgver=111
pkgrel=1
pkgdesc='Very fast lossless compression algorithm'
arch=('i686' 'x86_64')
@@ -13,12 +13,20 @@
license=('GPL2')
makedepends=('svn')
depends=('glibc')
-source=("$pkgname::svn+http://lz4.googlecode.com/svn/trunk/#revision=$pkgver")
-md5sums=('SKIP')
+source=("$pkgname::svn+http://lz4.googlecode.com/svn/trunk/#revision=$pkgver"
+ '01-fix-include.patch')
+md5sums=('SKIP'
+ '522618c085bb30924f540c3b2c18a7e4')
+prepare() {
+ patch -d $pkgname -p 1 < 01-fix-include.patch
+}
+
build() {
cd $pkgname
make
+ cd programs
+ make
}
package() {
More information about the arch-commits
mailing list