desktop/upx/PKGBUILD
Francesco Marinucci 60ad661da5 upz: update to 3.94
2017-10-27 10:58:36 +01:00

26 lines
584 B
Bash

pkgname=upx
pkgver=3.94
pkgrel=1
pkgdesc='Ultimate executable compressor.'
arch=('x86_64')
url='https://upx.github.io/'
license=('GPL2')
depends=('zlib' 'ucl')
source=("https://github.com/$pkgname/$pkgname/releases/download/v$pkgver/$pkgname-$pkgver-src.tar.xz")
md5sums=('19e898edc41bde3f21e997d237156731')
build() {
cd $pkgname-$pkgver-src
make UPX_LZMA_VERSION=0x465 UPX_LZMADIR="${srcdir}" CHECK_WHITESPACE=/bin/true all
}
package() {
cd $pkgname-$pkgver-src
install -D src/upx.out $pkgdir/usr/bin/upx
install -D -m644 doc/upx.1 $pkgdir/usr/share/man/man1/upx.1
}