1 # Maintainer: TDY <tdy@gmx.com>
2 # Contributor: Sergio Rubio <rubiojr.ml@gmail.com>
3 # Contributor: Hannes Rist <cowider@gmail.com>
8 pkgdesc="A perl script for unpacking a wide variety of archive formats"
10 url="http://packages.qa.debian.org/u/unp.html"
14 source=(http://ftp.debian.org/debian/pool/main/u/unp/unp_$pkgver.tar.bz2)
15 md5sums=('3184dc4befda8096a2d8324f87b0ee1e')
18 cd "$srcdir/unp-$pkgver/po"
19 # sed -i 's/rpm2cpio/&.pl/g; 39 i\else {\n load_strings;\n}' unp
24 cd "$srcdir/unp-$pkgver/po"
25 make DESTDIR="$pkgdir" install
26 install -Dm755 ../unp "$pkgdir/usr/bin/unp"
27 install -Dm755 ../ucat "$pkgdir/usr/bin/ucat"
28 install -Dm644 ../debian/unp.1 "$pkgdir/usr/share/man/man1/unp.1"
29 install -Dm755 ../bash_completion.d/unp "$pkgdir/etc/bash_completion.d/unp.sh"