diff options
author | Nicolás Reynolds <fauno@kiwwwi.com.ar> | 2011-03-06 11:27:52 -0300 |
---|---|---|
committer | Nicolás Reynolds <fauno@kiwwwi.com.ar> | 2011-03-06 11:27:52 -0300 |
commit | f192f099a88cb49575d6e6461c56665e87ebe2df (patch) | |
tree | f2dd621f428d58cd8ce160a0294edb210cc0e5c9 /libre-testing | |
parent | 88bee4bebf10a82fdbfdd9f9bc455e0b86b13813 (diff) |
unace-libre-1.2b-2
Diffstat (limited to 'libre-testing')
-rw-r--r-- | libre-testing/unace-libre/PKGBUILD | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/libre-testing/unace-libre/PKGBUILD b/libre-testing/unace-libre/PKGBUILD new file mode 100644 index 000000000..8708694c6 --- /dev/null +++ b/libre-testing/unace-libre/PKGBUILD @@ -0,0 +1,38 @@ +# Maintainer: Borgo +pkgname=unace-libre +_pkgname=unace +pkgver=1.2b +pkgrel=2 +pkgdesc="Extract, view and test ACE 1.x archives" +arch=('i686' 'x86_64') +url="http://www.emerge.de/" +license=('GPL') +depends=() +provides=('unace') +conflicts=('unace') +replaces=('unace') +source=(ftp://ftp.debian.org/debian/pool/main/u/unace/$_pkgname\_$pkgver.orig.tar.gz + ftp://ftp.debian.org/debian/pool/main/u/unace/$_pkgname\_$pkgver-7.diff.gz) +md5sums=('51360df61997db28787b60ea7321d83f' + '9cd1e411ed0e77d024ff78585079a5a5') #generate with 'makepkg -g' + +build() { + cd "$srcdir/$_pkgname$pkgver" + patch -p1 -i ../$_pkgname\_$pkgver-7.diff + for p in $(<debian/patches/series) + do + patch -p1 -i debian/patches/$p + done + cp unix/makefile unix/gccmaked . +# assume little-endian, debian/test-endian.c is not used + make dep + make +} + +package() { + cd "$srcdir/$_pkgname$pkgver" + install -Dm755 unace "$pkgdir/usr/bin/unace" + install -Dm644 debian/unace.1 "$pkgdir/usr/share/man/man1/unace.1" +} + +# vim:set ts=2 sw=2 et: |