void-packages/srcpkgs/unp/template

26 lines
626 B
Bash

# Template file for 'unp'
pkgname=unp
version=2.0~pre9
revision=1
hostmakedepends="gettext perl"
makedepends="perl"
depends="perl"
short_desc="Perl script for unpacking a wide variety of archive formats"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-only"
homepage="http://packages.qa.debian.org/u/unp.html"
distfiles="${DEBIAN_SITE}/main/u/unp/unp_${version}.tar.xz"
checksum=417909d5f653663030ff3eff422726e71ac914c61eec6f835823e2d053dce5d2
do_build() {
make -C po
}
do_install() {
make -C po DESTDIR=$DESTDIR install
vbin unp
vbin ucat
vman debian/unp.1
vcompletion debian/unp.bash-completion bash
}