mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
26 lines
584 B
Bash
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
|
|
}
|