From 480171c481f4e026c1fe1c1f729a99ece4daef09 Mon Sep 17 00:00:00 2001 From: Alessio Sergi Date: Mon, 5 Jan 2015 13:25:55 +0100 Subject: [PATCH] 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. --- srcpkgs/checkbashisms/template | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/srcpkgs/checkbashisms/template b/srcpkgs/checkbashisms/template index 32f8441843..db263addf8 100644 --- a/srcpkgs/checkbashisms/template +++ b/srcpkgs/checkbashisms/template @@ -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 " -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