summaryrefslogtreecommitdiff
path: root/community/upx/PKGBUILD
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
commit415856bdd4f48ab4f2732996f0bae58595092bbe (patch)
treeede2018b591f6dfb477fe9341ba17b9bc000fab9 /community/upx/PKGBUILD
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'community/upx/PKGBUILD')
-rw-r--r--community/upx/PKGBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/community/upx/PKGBUILD b/community/upx/PKGBUILD
new file mode 100644
index 000000000..77b55ba50
--- /dev/null
+++ b/community/upx/PKGBUILD
@@ -0,0 +1,33 @@
+# Contributor: Allan McRae <allan@archlinux.org>
+# Contributor: bekks <eduard.warkentin@gmail.com>
+# Maintainer: Daniel J Griffiths <ghost1227@archlinux.us>
+
+pkgname=upx
+pkgver=3.07
+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=('8186ab103288242f7e8ecad1acd4af03'
+ '29d5ffd03a5a3e51aef6a74e9eafb759')
+
+build() {
+ cd ${pkgname}-${pkgver}-src
+
+ make UPX_LZMA_VERSION=0x465 UPX_LZMADIR=${srcdir} 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
+}