28 lines
714 B
Bash
28 lines
714 B
Bash
# Template file for 'checkbashisms'
|
|
pkgname=checkbashisms
|
|
version=2.18.9
|
|
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>"
|
|
license="GPL-2.0-or-later"
|
|
homepage="https://tracker.debian.org/pkg/devscripts"
|
|
distfiles="${DEBIAN_SITE}/main/d/devscripts/devscripts_${version}.tar.xz"
|
|
checksum=75027f6fbbbc9a9ab1b2bb7b8651622fbd9d3d691e8f4a21639865c9efe4b0e4
|
|
|
|
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
|
|
}
|