summaryrefslogtreecommitdiffstats
path: root/abs/core/xz
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-08-07 19:11:46 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-08-07 19:11:46 (GMT)
commitedc05b31ade833cd0e3034f4df3d22ccc80a571e (patch)
tree2dfed2d094555528fbdf7e9d67bc64285575c43c /abs/core/xz
parent9afea266704f35e14f46bf1958327266208bd176 (diff)
downloadlinhes_pkgbuild-edc05b31ade833cd0e3034f4df3d22ccc80a571e.zip
linhes_pkgbuild-edc05b31ade833cd0e3034f4df3d22ccc80a571e.tar.gz
linhes_pkgbuild-edc05b31ade833cd0e3034f4df3d22ccc80a571e.tar.bz2
xz 5.0.4
Diffstat (limited to 'abs/core/xz')
-rw-r--r--abs/core/xz/PKGBUILD45
1 files changed, 22 insertions, 23 deletions
diff --git a/abs/core/xz/PKGBUILD b/abs/core/xz/PKGBUILD
index 1425582..ef2581b 100644
--- a/abs/core/xz/PKGBUILD
+++ b/abs/core/xz/PKGBUILD
@@ -1,40 +1,39 @@
-# $Id: PKGBUILD 96828 2010-10-25 05:57:12Z pierre $
+# $Id: PKGBUILD 162329 2012-06-25 09:10:55Z pierre $
# Maintainer: Pierre Schmitz <pierre@archlinux.de>
# Contributor: François Charette <firmicus@gmx.net>
pkgname=xz
-pkgver=5.0.0
-pkgrel=2
+pkgver=5.0.4
+pkgrel=1
pkgdesc='Library and command line tools for XZ and LZMA compressed files'
arch=('i686' 'x86_64')
url='http://tukaani.org/xz/'
license=('GPL' 'LGPL' 'custom')
depends=('sh')
-provides=('lzma' 'lzma-utils' 'xz-utils')
-replaces=('lzma' 'lzma-utils' 'xz-utils')
-conflicts=('lzma' 'lzma-utils' 'xz-utils')
options=('!libtool')
-source=("http://tukaani.org/${pkgname}/${pkgname}-${pkgver}.tar.gz")
-md5sums=('f3c0706d100ad2b6d63327584d026c50')
-
-# keep an upgrade path for older installations
-PKGEXT='.pkg.tar.gz'
+source=("http://tukaani.org/${pkgname}/${pkgname}-${pkgver}.tar.gz"
+ "http://tukaani.org/${pkgname}/${pkgname}-${pkgver}.tar.gz.sig")
+md5sums=('df3df690aef18384e1e031be7ec3a964'
+ '6e203465ee9b8f646d85cf84755e2b32')
build() {
- cd ${srcdir}/${pkgname}-${pkgver}
+ cd ${srcdir}/${pkgname}-${pkgver}
+
+ ./configure --prefix=/usr \
+ --disable-rpath \
+ --enable-werror
+ make
+}
- ./configure --prefix=/usr \
- --disable-rpath \
- --enable-werror
- 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
+check() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ make check
}
package() {
- cd ${srcdir}/${pkgname}-${pkgver}
- make DESTDIR=${pkgdir} install
- install -d -m755 ${pkgdir}/usr/share/licenses/xz/
- ln -sf /usr/share/doc/xz/COPYING ${pkgdir}/usr/share/licenses/xz/
- ln -sf /usr/share/licenses/common/GPL2/license.txt ${pkgdir}/usr/share/doc/xz/COPYING.GPLv2
+ cd ${srcdir}/${pkgname}-${pkgver}
+ make DESTDIR=${pkgdir} install
+ install -d -m755 ${pkgdir}/usr/share/licenses/xz/
+ ln -sf /usr/share/doc/xz/COPYING ${pkgdir}/usr/share/licenses/xz/
+ ln -sf /usr/share/licenses/common/GPL2/license.txt ${pkgdir}/usr/share/doc/xz/COPYING.GPLv2
}