void-packages/srcpkgs/checkbashisms/template

25 lines
566 B
Bash

# 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
}