upgpkg: devscripts 2.18.3-1

- Version bump
- Consistent identation
This commit is contained in:
Giovanni Santini
2018-05-26 16:20:13 +02:00
parent ea4ec12879
commit 18f777e002
2 changed files with 18 additions and 18 deletions

View File

@@ -5,11 +5,11 @@
# Contributor: JD Horelick <jdhore1@gmail.com>
pkgname=devscripts
pkgver=2.17.12
pkgver=2.18.3
pkgrel=1
pkgdesc="Scripts to make the life of a Debian Package maintainer easier"
arch=('i686' 'x86_64')
url="http://packages.qa.debian.org/d/devscripts.html"
url="https://tracker.debian.org/pkg/devscripts"
license=('GPL2')
depends=('dpkg' 'wget' 'sed' 'perl' 'debianutils' 'debhelper' 'perl-timedate')
optdepends=('sensible-utils: for sensible alternative selection')
@@ -31,30 +31,30 @@ makedepends=(
)
options=('!makeflags')
source=(
#http://ftp.debian.org/debian/pool/main/d/${pkgname}/${pkgname}_${pkgver}.tar.xz
"${pkgname}::git+https://anonscm.debian.org/git/collab-maint/devscripts.git#tag=v${pkgver}"
fixes.patch
#http://ftp.debian.org/debian/pool/main/d/${pkgname}/${pkgname}_${pkgver}.tar.xz
"${pkgname}::git+https://anonscm.debian.org/git/collab-maint/devscripts.git#tag=v${pkgver}"
fixes.patch
)
sha256sums=('SKIP'
'e5fef21e1d8aee3128c6499078bc2f38e8f80189b30882df817637388f1e7717')
prepare(){
cd "$pkgname"
patch -p1 -i "$srcdir/fixes.patch"
cd "$pkgname"
patch -p1 -i "$srcdir/fixes.patch"
}
build() {
cd "$pkgname"
make
cd "$pkgname"
make
}
package() {
cd "$pkgname"
make DESTDIR="$pkgdir" install
cd "$pkgname"
make DESTDIR="$pkgdir" install
# Create dch symlink to debchange
ln -s /usr/bin/debchange "$pkgdir/usr/bin/dch"
# Create dch symlink to debchange
ln -s /usr/bin/debchange "$pkgdir/usr/bin/dch"
# bts completion is present already in the official package
rm "$pkgdir/usr/share/bash-completion/completions/bts"
# bts completion is present already in the official package
rm "$pkgdir/usr/share/bash-completion/completions/bts"
}