diff options
author | root <root@rshg054.dnsready.net> | 2013-07-19 01:10:32 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-07-19 01:10:32 -0700 |
commit | 8fbc0076a4827ddc6af92e0b9daa4c4c31450808 (patch) | |
tree | 03fd0e2921ebd53228d9a93e32ed3976b636cbea /community/upx/PKGBUILD | |
parent | e445a313723389ba9ee1fded025c567dae5b21ea (diff) |
Fri Jul 19 01:09:18 PDT 2013
Diffstat (limited to 'community/upx/PKGBUILD')
-rw-r--r-- | community/upx/PKGBUILD | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/community/upx/PKGBUILD b/community/upx/PKGBUILD new file mode 100644 index 000000000..2bbfaf36f --- /dev/null +++ b/community/upx/PKGBUILD @@ -0,0 +1,30 @@ +# Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de> +# Contributor: Allan McRae <allan@archlinux.org> +# Contributor: bekks <eduard.warkentin@gmail.com> +# Contributor: Daniel J Griffiths <ghost1227@archlinux.us> + +pkgname=upx +pkgver=3.09 +pkgrel=1 +pkgdesc='Ultimate executable compressor.' +arch=('i686' 'x86_64') +url='http://upx.sourceforge.net/' +license=('GPL') +depends=('zlib') +makedepends=('ucl') +source=("http://upx.sourceforge.net/download/${pkgname}-${pkgver}-src.tar.bz2" + 'http://downloads.sourceforge.net/sevenzip/lzma465.tar.bz2') +md5sums=('1253da46eac54a217eb73e2d44818e53' + '29d5ffd03a5a3e51aef6a74e9eafb759') + +build() { + cd "${pkgname}-${pkgver}-src" + make UPX_LZMA_VERSION=0x465 UPX_LZMADIR="${srcdir}" all +} + +package() { + cd "${pkgname}-${pkgver}-src" + + install -Dm0755 src/upx.out "${pkgdir}/usr/bin/upx" + install -Dm0644 doc/upx.1 "${pkgdir}/usr/share/man/man1/upx.1" +} |