blob: ed954bac09e05828802a250b8fed6d928cd27649 (
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
# Maintainer: Stephanie Wilde-Hobbs <steph@rx14.co.uk>
# Maintainer: Pierre Schmitz <pierre@archlinux.de>
# Contributor: François Charette <firmicus@gmx.net>
pkgname=xz-static
pkgver=5.2.4
pkgrel=1
pkgdesc='Statically linked library and command line tools for XZ and LZMA compressed files'
arch=('x86_64')
url='https://tukaani.org/xz/'
license=('GPL' 'LGPL' 'custom')
depends=('sh')
options=('staticlibs')
source=("https://tukaani.org/xz/xz-${pkgver}.tar.gz"{,.sig})
md5sums=('5ace3264bdd00c65eeec2891346f65e6'
'SKIP')
validpgpkeys=('3690C240CE51B4670D30AD1C38EE757D69184620')
build() {
cd ${srcdir}/xz-${pkgver}
./configure --prefix=/usr \
--disable-rpath \
--enable-werror \
--disable-shared \
--disable-xz \
--disable-xzdec \
--disable-lzmadec \
--disable-lzmainfo \
--disable-scripts \
--disable-doc
make
}
check() {
cd ${srcdir}/xz-${pkgver}
make check
}
package() {
cd ${srcdir}/xz-${pkgver}
make DESTDIR=${pkgdir} install
rm -Rf ${pkgdir}/usr/{bin,include,share,lib/pkgconfig}
}
|