2014-02-16 08:49:44 +00:00
|
|
|
# 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"
|
2015-04-10 07:16:30 +00:00
|
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
2014-02-16 08:49:44 +00:00
|
|
|
license="GPL-2"
|
|
|
|
homepage="http://packages.qa.debian.org/u/unp.html"
|
2014-02-16 08:50:40 +00:00
|
|
|
distfiles="${DEBIAN_SITE}/main/u/unp/unp_${version}.tar.bz2"
|
2014-02-16 08:49:44 +00:00
|
|
|
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
|
|
|
|
}
|