blob: 3c65f435b939d3cc0dccfe4272d33dd96ef91551 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
# Maintainer Max Harmathy <harmathy@secure.mailbox.org>
# Contributor C. Dominik Bódi <dominik dot bodi at gmx dot de>
# Contributor Patrick McCarty <pnorcks at gmail dot com>
pkgname=git-buildpackage
pkgver=0.9.34
pkgrel=1
pkgdesc="Tools from Debian to integrate the package build system with Git"
arch=(any)
url="https://honk.sigxcpu.org/piki/projects/git-buildpackage/"
license=('GPL-2.0-or-later')
depends=('git'
'man'
'python'
'python-dateutil'
'rpm-tools')
makedepends=('python-distribute'
'python-coverage'
'python-mock'
'python-nose'
'python-nosexcover'
'python-setuptools'
'dpkg')
#checkdepends=('devscripts'
# 'pristine-tar'
# 'cpio'
# 'unzip'
# 'zipmerge'
# 'curl'
# 'python-requests'
# 'debhelper')
backup=('etc/git-buildpackage/gbp.conf')
source=("git+https://github.com/agx/git-buildpackage.git#tag=debian/$pkgver")
sha256sums=('da613ca194c2fe29ceffe7f0c6436585a2b0820663ff1189ec2032e239be85be')
build() {
cd git-buildpackage
python setup.py build
}
#check() {
# cd git-buildpackage
# python setup.py check
#}
package() {
cd git-buildpackage/
python setup.py install --root="$pkgdir" --prefix=/usr -O1
install -m 644 -D -T "gbp.conf" "$pkgdir/etc/git-buildpackage/gbp.conf"
install -m 644 -D -T debian/gbp.completion "$pkgdir/usr/share/bash-completion/completions/gbp"
}
|