New package: unp-2.0~pre7+nmu1 (close #218).

This commit is contained in:
Juan RP 2014-02-16 09:49:44 +01:00
parent 68de3686c9
commit aaf3680ec9
1 changed files with 29 additions and 0 deletions

29
srcpkgs/unp/template Normal file
View File

@ -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 <xtraeme@gmail.com>"
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
}