diff options
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: |