# Maintainer: C. Dominik Bódi # Contributor: Patrick McCarty pkgname=git-buildpackage pkgver=0.9.17 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') depends=('git' 'man-db' 'python' 'python-dateutil' 'rpm-org') makedepends=('python-distribute' 'python-coverage' 'python-mock' 'python-nose' 'python-nosexcover' '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=('SKIP') 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" install -m 644 -D -T debian/git-buildpackage.zsh-completion "$pkgdir/usr/share/zsh/site-functions/_gbp" }