27 lines
789 B
Bash
27 lines
789 B
Bash
# Template file for 'checkbashisms'
|
|
pkgname=checkbashisms
|
|
version=2.22.1
|
|
revision=1
|
|
wrksrc="devscripts-${version}"
|
|
depends="perl"
|
|
checkdepends="shunit2 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"
|
|
changelog="https://salsa.debian.org/debian/devscripts/-/raw/master/debian/changelog"
|
|
distfiles="${DEBIAN_SITE}/main/d/devscripts/devscripts_${version}.tar.xz"
|
|
checksum=35dd5e6029d27be35b96e8c6e38b8aa6fba791a21371dac2de0f8cdee5fe33d5
|
|
|
|
pre_install() {
|
|
vsed -i "s|###VERSION###|${version}|" scripts/checkbashisms.pl
|
|
}
|
|
|
|
do_check() {
|
|
./test/test_checkbashisms
|
|
}
|
|
|
|
do_install() {
|
|
vbin scripts/checkbashisms.pl checkbashisms
|
|
vman scripts/checkbashisms.1
|
|
}
|