# Template file for 'checkbashisms' pkgname=checkbashisms version=2.19.2 revision=1 noarch=yes wrksrc="devscripts-${version}" depends="perl" checkdepends="shunit2 perl" short_desc="Debian script that checks for bash-isms" maintainer="Alessio Sergi " license="GPL-2.0-or-later" homepage="https://tracker.debian.org/pkg/devscripts" distfiles="${DEBIAN_SITE}/main/d/devscripts/devscripts_${version}.tar.xz" checksum=6874487cdafaa05f1e72b119a5db4c83caae2631ae468d45a24a72cf3f7393b9 pre_install() { sed -i "s|###VERSION###|${version}|" scripts/checkbashisms.pl } do_check() { ./test/test_checkbashisms } do_install() { vbin scripts/checkbashisms.pl checkbashisms vman scripts/checkbashisms.1 }