unp: update to 2.0~pre9.

This commit is contained in:
Đoàn Trần Công Danh 2020-11-28 05:18:02 +07:00
parent 083e83dec9
commit 15b50138c0

View file

@ -1,29 +1,25 @@
# Template file for 'unp'
pkgname=unp
version="2.0~pre7+nmu1"
revision=3
hostmakedepends="gettext"
version=2.0~pre9
revision=1
hostmakedepends="gettext perl"
makedepends="perl"
depends="perl"
short_desc="A perl script for unpacking a wide variety of archive formats"
short_desc="Perl script for unpacking a wide variety of archive formats"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2"
license="GPL-2.0-only"
homepage="http://packages.qa.debian.org/u/unp.html"
distfiles="${DEBIAN_SITE}/main/u/unp/unp_${version}.tar.bz2"
checksum=7c2d6f2835a5a59ee2588b66d8015d97accd62e71e38ba90ebd4d71d8fd78227
distfiles="${DEBIAN_SITE}/main/u/unp/unp_${version}.tar.xz"
checksum=417909d5f653663030ff3eff422726e71ac914c61eec6f835823e2d053dce5d2
do_build() {
cd po
make
make -C po
}
do_install() {
cd po
make DESTDIR=${DESTDIR} install
cd ..
make -C po DESTDIR=$DESTDIR install
vbin unp
vbin ucat
vman debian/unp.1
vinstall bash_completion.d/unp 644 usr/share/bash-completion/completions
vcompletion debian/unp.bash-completion bash
}