summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2010-02-04 00:25:43 (GMT)
committerJames Meyer <james.meyer@operamail.com>2010-02-04 00:25:43 (GMT)
commit482f1bad38e26953978772c8c0fedd4b86966da2 (patch)
treea2b0558471c49d0df9be5442b400bb466deca011
parent13c5a3d4c1d8e6fd299222a5b12a1c31bf3ccd28 (diff)
downloadlinhes_pkgbuild-482f1bad38e26953978772c8c0fedd4b86966da2.zip
linhes_pkgbuild-482f1bad38e26953978772c8c0fedd4b86966da2.tar.gz
linhes_pkgbuild-482f1bad38e26953978772c8c0fedd4b86966da2.tar.bz2
xz-utils: add to repo
needed by pacman
-rw-r--r--abs/core-testing/xz-utils/PKGBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/abs/core-testing/xz-utils/PKGBUILD b/abs/core-testing/xz-utils/PKGBUILD
new file mode 100644
index 0000000..540187e
--- /dev/null
+++ b/abs/core-testing/xz-utils/PKGBUILD
@@ -0,0 +1,30 @@
+# Maintainer: Pierre Schmitz <pierre@archlinux.de>
+# Contributor: François Charette <firmicus@gmx.net>
+
+pkgname=xz-utils
+pkgver=4.999.9beta
+pkgrel=2
+pkgdesc='utils for managing LZMA and XZ compressed files'
+arch=('i686' 'x86_64')
+url='http://tukaani.org/xz/'
+license=('GPL' 'LGPL')
+depends=('bash')
+provides=('lzma' 'lzma-utils')
+replaces=('lzma' 'lzma-utils')
+conflicts=('lzma' 'lzma-utils')
+options=('!libtool')
+source=("http://tukaani.org/xz/xz-${pkgver}.tar.gz")
+md5sums=('f2073579b6da2fe35d453adee1aaf1b2')
+
+build() {
+ cd $srcdir/xz-$pkgver
+
+ ./configure --prefix=/usr \
+ --enable-static \
+ --enable-dynamic \
+ --disable-rpath
+ sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
+ sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
+ make
+ make DESTDIR=$pkgdir install
+}