void-packages/srcpkgs/checkbashisms/template
2017-04-01 20:10:26 +02:00

21 lines
631 B
Bash

# Template file for 'checkbashisms'
pkgname=checkbashisms
version=2.17.5
revision=1
noarch=yes
wrksrc="devscripts-${version}"
depends="perl"
short_desc="Debian script that checks for bash-isms"
maintainer="Alessio Sergi <al3hex@gmail.com>"
homepage="https://tracker.debian.org/pkg/devscripts"
license="GPL-2"
distfiles="${DEBIAN_SITE}/main/d/devscripts/devscripts_${version}.tar.xz"
checksum=8b7f7c6f179918fa8137af746e64523a4a1f8815e3c3e5caeb1c298f718db326
pre_install() {
sed -i "s|###VERSION###|${version}|" scripts/checkbashisms.pl
}
do_install() {
vbin scripts/checkbashisms.pl checkbashisms
vman scripts/checkbashisms.1
}