summaryrefslogtreecommitdiffstats
path: root/abs/core
diff options
context:
space:
mode:
authorMichael Hanson <hansonorders@verizon.net>2010-11-16 22:15:22 (GMT)
committerMichael Hanson <hansonorders@verizon.net>2010-11-16 22:15:22 (GMT)
commitb215d21a2f4e4a5764492b3f61282b61b15c5776 (patch)
treed0b5604f3d38d9198b8f02f3ccffc2577d3c3bc8 /abs/core
parent50c53522db757139fd2b6ef92e626ead10f67a22 (diff)
downloadlinhes_pkgbuild-b215d21a2f4e4a5764492b3f61282b61b15c5776.zip
linhes_pkgbuild-b215d21a2f4e4a5764492b3f61282b61b15c5776.tar.gz
linhes_pkgbuild-b215d21a2f4e4a5764492b3f61282b61b15c5776.tar.bz2
xz: up to latest
Diffstat (limited to 'abs/core')
-rw-r--r--abs/core/xz/PKGBUILD37
1 files changed, 18 insertions, 19 deletions
diff --git a/abs/core/xz/PKGBUILD b/abs/core/xz/PKGBUILD
index a776a63..7760696 100644
--- a/abs/core/xz/PKGBUILD
+++ b/abs/core/xz/PKGBUILD
@@ -1,11 +1,10 @@
-# $Id: PKGBUILD 82447 2010-06-11 08:40:21Z pierre $
+# $Id: PKGBUILD 96828 2010-10-25 05:57:12Z pierre $
# Maintainer: Pierre Schmitz <pierre@archlinux.de>
# Contributor: François Charette <firmicus@gmx.net>
pkgname=xz
-pkgver=4.999.9beta
-_snapshot=143-g3e49
-pkgrel=5
+pkgver=5.0.0
+pkgrel=1
pkgdesc='Library and command line tools for XZ and LZMA compressed files'
arch=('i686' 'x86_64')
url='http://tukaani.org/xz/'
@@ -15,28 +14,28 @@ 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}-${_snapshot}.tar.gz")
-md5sums=('9e5a42d2b5277d8d71405d065120bd4e')
+source=("http://tukaani.org/${pkgname}/${pkgname}-${pkgver}.tar.gz")
+md5sums=('f3c0706d100ad2b6d63327584d026c50')
# keep an upgrade path for older installations
PKGEXT='.pkg.tar.gz'
build() {
- cd ${srcdir}/${pkgname}-$pkgver-${_snapshot}
+ cd ${srcdir}/${pkgname}-${pkgver}
- ./configure --prefix=/usr \
- --enable-dynamic \
- --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
+ ./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
}
package() {
- cd ${srcdir}/${pkgname}-$pkgver-${_snapshot}
- 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
}
+