void-packages/srcpkgs/checkbashisms/template
Alessio Sergi 480171c481 checkbashisms: remove update_pkgname
checkbashisms != devscripts. Clone the repo instead of using the
tarball. This allows us to update when needed and reduces the workflow.
2015-01-05 13:34:30 +01:00

25 lines
566 B
Plaintext

# Template file for 'checkbashisms'
pkgname=checkbashisms
version=2.14.11
revision=2
noarch=yes
hostmakedepends="git"
depends="perl"
short_desc="Debian script that checks for bash-isms"
maintainer="Alessio Sergi <al3hex@gmail.com>"
license="GPL-2"
homepage="https://tracker.debian.org/pkg/devscripts"
do_fetch() {
git clone git://anonscm.debian.org/collab-maint/devscripts.git ${wrksrc}
}
pre_install() {
sed -i "s|###VERSION###|${version}|" scripts/checkbashisms.pl
}
do_install() {
vbin scripts/checkbashisms.pl checkbashisms
vman scripts/checkbashisms.1
}