summaryrefslogtreecommitdiffstats
path: root/abs/core/xz-utils/PKGBUILD
blob: 540187e7dd792051cabed83a5b7fdda8b15d48e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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
}