From b9b449c14d9536079c50aee957d6e65b4dd8e497 Mon Sep 17 00:00:00 2001 From: Alessio Sergi Date: Sat, 8 Nov 2014 19:14:10 +0100 Subject: [PATCH] New package: checkbashisms-2.14.10 --- srcpkgs/checkbashisms/template | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 srcpkgs/checkbashisms/template diff --git a/srcpkgs/checkbashisms/template b/srcpkgs/checkbashisms/template new file mode 100644 index 0000000000..da7a4a27ca --- /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 +}