diff options
Diffstat (limited to 'core/xz/MAKEPKG')
| -rw-r--r-- | core/xz/MAKEPKG | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/core/xz/MAKEPKG b/core/xz/MAKEPKG new file mode 100644 index 0000000..c396136 --- /dev/null +++ b/core/xz/MAKEPKG @@ -0,0 +1,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 |
