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:
parent
24b678f683
commit
480171c481
|
@ -1,17 +1,18 @@
|
||||||
# Template file for 'checkbashisms'
|
# Template file for 'checkbashisms'
|
||||||
pkgname=checkbashisms
|
pkgname=checkbashisms
|
||||||
version=2.14.11
|
version=2.14.11
|
||||||
revision=1
|
revision=2
|
||||||
noarch=yes
|
noarch=yes
|
||||||
wrksrc="devscripts-${version}"
|
hostmakedepends="git"
|
||||||
depends="perl"
|
depends="perl"
|
||||||
short_desc="Debian script that checks for bash-isms"
|
short_desc="Debian script that checks for bash-isms"
|
||||||
maintainer="Alessio Sergi <al3hex@gmail.com>"
|
maintainer="Alessio Sergi <al3hex@gmail.com>"
|
||||||
homepage="https://packages.qa.debian.org/d/devscripts.html"
|
|
||||||
license="GPL-2"
|
license="GPL-2"
|
||||||
update_pkgname=devscripts
|
homepage="https://tracker.debian.org/pkg/devscripts"
|
||||||
distfiles="${DEBIAN_SITE}/main/d/devscripts/devscripts_${version}.tar.xz"
|
|
||||||
checksum=2fc98f4b00452e3dfb37f44d69e19824f6aa9621d7305067cf53c1eaa4bb8eed
|
do_fetch() {
|
||||||
|
git clone git://anonscm.debian.org/collab-maint/devscripts.git ${wrksrc}
|
||||||
|
}
|
||||||
|
|
||||||
pre_install() {
|
pre_install() {
|
||||||
sed -i "s|###VERSION###|${version}|" scripts/checkbashisms.pl
|
sed -i "s|###VERSION###|${version}|" scripts/checkbashisms.pl
|
||||||
|
|
Loading…
Reference in New Issue