# Maintainer: Giovanni 'ItachiSan' Santini # Contributor: Jochen Schalanda # Contributor: Charles Pigott # Contributor: André Klitzing # Contributor: JD Horelick pkgname=devscripts pkgver=2.20.5 pkgrel=1 pkgdesc="Scripts to make the life of a Debian Package maintainer easier" arch=('i686' 'x86_64') url="https://tracker.debian.org/pkg/devscripts" license=('GPL2') depends=('dpkg' 'wget' 'sed' 'perl' 'debianutils' 'debhelper' 'perl-file-homedir' 'perl-timedate' 'sensible-utils') makedepends=( 'docbook-xsl' 'bash-completion' 'help2man' 'git' 'perl-file-desktopentry' 'perl-file-basedir' 'perl-git-wrapper' 'perl-libwww' 'perl-list-compare' 'perl-parse-debcontrol' 'perl-pod-parser' 'perl-timedate' 'po4a' 'python-setuptools' ) optdepends=( 'debian-keyring: Required for commands interacting with the system / user keyring' ) options=('!makeflags') source=( "https://deb.debian.org/debian/pool/main/${pkgname:0:1}/${pkgname}/${pkgname}_${pkgver}.tar.xz" fixes.patch ) sha256sums=('84fb3c433707253d1570a9620d9e9a03622cf6e2fa601bb948fb1565e4514ce6' 'e5fef21e1d8aee3128c6499078bc2f38e8f80189b30882df817637388f1e7717') prepare(){ cd "$pkgname-$pkgver" patch -p1 -i "$srcdir/fixes.patch" } build() { cd "$pkgname-$pkgver" make } package() { cd "$pkgname-$pkgver" make DESTDIR="$pkgdir" install # 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" }