diff --git a/srcpkgs/checkbashisms/template b/srcpkgs/checkbashisms/template new file mode 100644 index 00000000000..da7a4a27ca3 --- /dev/null +++ b/srcpkgs/checkbashisms/template @@ -0,0 +1,22 @@ +# Template file for 'checkbashisms' +pkgname=checkbashisms +version=2.14.10 +revision=1 +noarch=yes +wrksrc="devscripts-${version}" +depends="perl" +short_desc="Debian script that checks for bash-isms" +maintainer="Alessio Sergi " +homepage="https://packages.qa.debian.org/d/devscripts.html" +license="GPL-2" +distfiles="${DEBIAN_SITE}/main/d/devscripts/devscripts_${version}.tar.xz" +checksum=cd5659ed25dc1f962e1285d8a77a222aa257a9ab53d7442879422b4e988457ad + +pre_install() { + sed -i "s|###VERSION###|${version}|" scripts/checkbashisms.pl +} + +do_install() { + vbin scripts/checkbashisms.pl checkbashisms + vman scripts/checkbashisms.1 +}