PKGBUILDs/community/upx/PKGBUILD
2009-10-09 21:15:33 -05:00

22 lines
661 B
Bash

# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
# Maintainer: Allan McRae <allan@archlinux.org>
# Contributor: bekks <eduard.warkentin@gmail.com>
pkgname=upx
pkgver=3.03
pkgrel=2
pkgdesc="Ultimate executable compressor"
arch=('i686' 'x86_64')
url="http://upx.sourceforge.net/"
license=('GPL')
depends=('gcc-libs' 'zlib')
makedepends=('perl' 'ucl')
source=(http://upx.sourceforge.net/download/${pkgname}-${pkgver}-src.tar.bz2)
md5sums=('1d5830fff06537a129c923527c4ce205')
build() {
cd ${srcdir}/${pkgname}-${pkgver}-src
make all || return 1
install -Dm755 src/upx.out ${pkgdir}/usr/bin/upx
install -Dm644 doc/upx.1 ${pkgdir}/usr/share/man/man1/upx.1
}