bump xz (5.0.2->5.0.3)

This commit is contained in:
Drake 2012-01-13 03:59:27 +00:00
parent dd6e57fa7a
commit 8ca7e1a7f3

View File

@ -4,15 +4,12 @@
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
# NOTE: create symbolic link after install: sudo ln -sfv /usr/lib/liblzma.so /usr/lib/liblzma.so.0
pkgname=xz
pkgver=5.0.2
pkgrel=2
pkgver=5.0.3
pkgrel=1
pkgdesc='Library and command line tools for XZ and LZMA compressed files'
arch=('i686' 'x86_64')
url='http://tukaani.org/xz/'
@ -23,7 +20,7 @@ replaces=('lzma' 'lzma-utils' 'xz-utils')
conflicts=('lzma' 'lzma-utils' 'xz-utils')
options=('!libtool')
source=("http://tukaani.org/${pkgname}/${pkgname}-${pkgver}.tar.gz")
md5sums=('03d139cc14294fd45504989b914335ff')
md5sums=('fefe52f9ecd521de2a8ce38c21a27574')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
@ -31,15 +28,19 @@ build() {
./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
}
}