checkbashisms != devscripts. Clone the repo instead of using the tarball. This allows us to update when needed and reduces the workflow.
24 lines
566 B
Text
24 lines
566 B
Text
# 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
|
|
}
|