void-packages/srcpkgs/checkbashisms/template

25 lines
566 B
Bash
Raw Normal View History

2014-11-08 19:14:10 +01:00
# Template file for 'checkbashisms'
pkgname=checkbashisms
2014-12-14 09:41:41 +01:00
version=2.14.11
revision=2
2014-11-08 19:14:10 +01:00
noarch=yes
hostmakedepends="git"
2014-11-08 19:14:10 +01:00
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}
}
2014-11-08 19:14:10 +01:00
pre_install() {
sed -i "s|###VERSION###|${version}|" scripts/checkbashisms.pl
}
do_install() {
vbin scripts/checkbashisms.pl checkbashisms
vman scripts/checkbashisms.1
}