# Template file for 'checkbashisms' pkgname=checkbashisms version=2.19.3 revision=1 archs=noarch 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=2c7da1a9e3f3b37bb4f2040bd4e0919970d53b58c80ff98d3590872df49042ab 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 }