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