void-packages/srcpkgs/checkbashisms/template

26 lines
702 B
Bash

# Template file for 'checkbashisms'
pkgname=checkbashisms
version=2.17.11
revision=1
noarch=yes
wrksrc="devscripts-${version}"
checkdepends="shunit2 perl"
depends="perl"
short_desc="Debian script that checks for bash-isms"
maintainer="Alessio Sergi <al3hex@gmail.com>"
homepage="https://tracker.debian.org/pkg/devscripts"
license="GPL-2"
distfiles="${DEBIAN_SITE}/main/d/devscripts/devscripts_${version}.tar.xz"
checksum=2fefafd23e1707b07c4010ca27aa708992911aa474cd33cd888375d868ddc2da
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
}