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.
This commit is contained in:
Alessio Sergi 2015-01-05 13:25:55 +01:00
parent 24b678f683
commit 480171c481

View file

@ -1,17 +1,18 @@
# Template file for 'checkbashisms'
pkgname=checkbashisms
version=2.14.11
revision=1
revision=2
noarch=yes
wrksrc="devscripts-${version}"
hostmakedepends="git"
depends="perl"
short_desc="Debian script that checks for bash-isms"
maintainer="Alessio Sergi <al3hex@gmail.com>"
homepage="https://packages.qa.debian.org/d/devscripts.html"
license="GPL-2"
update_pkgname=devscripts
distfiles="${DEBIAN_SITE}/main/d/devscripts/devscripts_${version}.tar.xz"
checksum=2fc98f4b00452e3dfb37f44d69e19824f6aa9621d7305067cf53c1eaa4bb8eed
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