Date: Thursday, February 6, 2020 @ 12:00:28 Author: arodseth Revision: 563622
Update to 3.96 Modified: upx/trunk/PKGBUILD ----------+ PKGBUILD | 42 +++++++++++++++++++++++++++--------------- 1 file changed, 27 insertions(+), 15 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2020-02-06 11:39:36 UTC (rev 563621) +++ PKGBUILD 2020-02-06 12:00:28 UTC (rev 563622) @@ -1,27 +1,39 @@ -# Maintainer: Lukas Fleischer <[email protected]> +# Maintainer: Alexander F. Rødseth <[email protected]> +# Contributor: Lukas Fleischer <[email protected]> # Contributor: Allan McRae <[email protected]> # Contributor: bekks <[email protected]> # Contributor: Daniel J Griffiths <[email protected]> pkgname=upx -pkgver=3.95 +pkgver=3.96 pkgrel=1 -pkgdesc='Ultimate executable compressor.' -arch=('x86_64') -url='http://upx.sourceforge.net/' -license=('GPL') -depends=('zlib' 'ucl') -source=("https://github.com/$pkgname/$pkgname/releases/download/v$pkgver/$pkgname-$pkgver-src.tar.xz") -md5sums=('fa95336d9ddcaac3b494a1b6ae9d3557') +pkgdesc='Extendable, high-performance executable packer for several executable formats' +arch=(x86_64) +url='https://github.com/upx/upx' +license=(GPL2 custom) +depends=(git ucl) +makedepends=(perl) +source=("git+$url#commit=d7ba31cab8ce8d95d2c10e88d2ec787ac52005ef") # v3.96 +sha256sums=('SKIP') +prepare() { + cd "$pkgname" + git submodule update --init --recursive +} + build() { - cd "${pkgname}-${pkgver}-src" - make UPX_LZMA_VERSION=0x465 UPX_LZMADIR="${srcdir}" CHECK_WHITESPACE=/bin/true all + make -C "$pkgname" \ + UPX_LZMA_VERSION=0x465 \ + UPX_LZMADIR="$srcdir" \ + CHECK_WHITESPACE=/bin/true \ + all } package() { - cd "${pkgname}-${pkgver}-src" + cd "$pkgname" + install -Dm755 src/upx.out "$pkgdir/usr/bin/upx" + install -Dm644 doc/upx.1 "$pkgdir/usr/share/man/man1/upx.1" + install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +} - install -Dm0755 src/upx.out "${pkgdir}/usr/bin/upx" - install -Dm0644 doc/upx.1 "${pkgdir}/usr/share/man/man1/upx.1" -} +# vim: ts=2 sw=2 et:
