void-packages/srcpkgs/unp/template

30 lines
708 B
Bash

# 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@voidlinux.eu>"
license="GPL-2"
homepage="http://packages.qa.debian.org/u/unp.html"
distfiles="${DEBIAN_SITE}/main/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
}