65 lines
1.8 KiB
Bash
65 lines
1.8 KiB
Bash
# Maintainer: Giovanni 'ItachiSan' Santini <giovannisantini93@yahoo.it>
|
|
# Contributor: Jochen Schalanda <jochen+aur@schalanda.name>
|
|
# Contributor: Charles Pigott <charlespigott@googlemail.com>
|
|
# Contributor: André Klitzing <aklitzing@online.de>
|
|
# Contributor: JD Horelick <jdhore1@gmail.com>
|
|
|
|
pkgname=devscripts
|
|
pkgver=2.22.2
|
|
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'
|
|
'perl-file-touch: Required for uscan'
|
|
'perl-file-dirlist: Required for uscan'
|
|
)
|
|
options=('!makeflags')
|
|
source=(
|
|
"https://deb.debian.org/debian/pool/main/${pkgname:0:1}/${pkgname}/${pkgname}_${pkgver}.tar.xz"
|
|
fixes.patch
|
|
)
|
|
sha256sums=('15f95a96dd89c6a2d2d20ab4c32f3ca570aa88dbc78fbb1f3fb7cbc1d4a6502b'
|
|
'f8e7ce50c0d008c5d38c94b93c9fc560e5dd2cc8f06eeb2909b0b1784911b768')
|
|
|
|
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"
|
|
}
|