diff --git a/srcpkgs/unp/template b/srcpkgs/unp/template new file mode 100644 index 00000000000..9fbd52e79fa --- /dev/null +++ b/srcpkgs/unp/template @@ -0,0 +1,29 @@ +# Template file for 'unp' +pkgname=unp +version="2.0~pre7+nmu1" +revision=1 +noarch=yes +makedepends="perl" +depends="perl" +short_desc="A perl script for unpacking a wide variety of archive formats" +maintainer="Juan RP " +license="GPL-2" +homepage="http://packages.qa.debian.org/u/unp.html" +distfiles="${DEBIAN_SITE}/mail/u/unp/unp_${version}.tar.bz2" +checksum=7c2d6f2835a5a59ee2588b66d8015d97accd62e71e38ba90ebd4d71d8fd78227 + +do_build() { + cd po + make +} + +do_install() { + cd po + make DESTDIR=${DESTDIR} install + cd .. + + vinstall unp 755 usr/bin + vinstall ucat 755 usr/bin + vinstall debian/unp.1 644 usr/share/man/man1 + vinstall bash_completion.d/unp 644 usr/share/bash-completion/completions +}