mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
28 lines
748 B
Bash
28 lines
748 B
Bash
|
# Maintainer: Manuel Rotter <rotter.manuel@gmail.com>
|
||
|
|
||
|
pkgname=xz-utils
|
||
|
pkgver=4.999.8beta
|
||
|
pkgrel=1
|
||
|
pkgdesc='utils for managing LZMA and XZ compressed files'
|
||
|
arch=('arm')
|
||
|
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=('f00967331a487e88d51207fe17c56f52')
|
||
|
|
||
|
build() {
|
||
|
cd $srcdir/xz-$pkgver
|
||
|
./configure --prefix=/usr \
|
||
|
--disable-static \
|
||
|
--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
|
||
|
}
|