summaryrefslogtreecommitdiffstats
path: root/abs/extra/upx/PKGBUILD
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2014-12-19 21:26:48 (GMT)
committerBritney Fransen <brfransen@gmail.com>2014-12-19 21:26:48 (GMT)
commit8792c353b518f758fbbf7d56fdec95b842b32490 (patch)
treef29b221448d61b34d4bb98f20c8880a071c9ecc9 /abs/extra/upx/PKGBUILD
parent1e2f06e51600c445d7620f888d4b49c08e0cbae4 (diff)
downloadlinhes_pkgbuild-8792c353b518f758fbbf7d56fdec95b842b32490.zip
linhes_pkgbuild-8792c353b518f758fbbf7d56fdec95b842b32490.tar.gz
linhes_pkgbuild-8792c353b518f758fbbf7d56fdec95b842b32490.tar.bz2
upx: initial include. dep of syslinux
Diffstat (limited to 'abs/extra/upx/PKGBUILD')
-rw-r--r--abs/extra/upx/PKGBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/abs/extra/upx/PKGBUILD b/abs/extra/upx/PKGBUILD
new file mode 100644
index 0000000..712920f
--- /dev/null
+++ b/abs/extra/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.91
+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=('c6d0b3ea2ecb28cb8031d59a4b087a43'
+ '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"
+}