blob: c39613659d2555ae5590c037ddb981efaf4e7bc4 (
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
|
#!/bin/mkpkg
# description: XZ compression utilities
# url: https://tukaani.org/xz
name=xz
version=5.8.4
release=1
lockbox=(yes)
source=(https://github.com/tukaani-project/xz/releases/download/v$version/$name-$version.tar.xz)
sha256sums=(
"4ce24038fd4221e0d13bc1a2de7a4db56e90b92b3bf75321f6c14be73f65de4b"
)
build() {
cd $name-$version
./configure \
--prefix=/ \
--bindir=/bin \
--libdir=/lib \
--includedir=/include \
--mandir=/usr/share/man \
--disable-nls
make
make install DESTDIR=$PKG
rm -rf $PKG/share
for f in lzcmp lzdiff lzgrep lzegrep lzfgrep lzless lzmore \
xzcmp xzdiff xzgrep xzegrep xzfgrep xzless xzmore; do
rm -f $PKG/bin/$f
rm -f $PKG/usr/share/man/man1/$f.1*
done
}
signify() {
untrusted comment: public key
RWTZ9IduCSQ/mL8337TEUinPwT92xFEUpD92hkS7IxcOnzTt9QdpohT3
}
# vim: filetype=sh
|