# Maintainer: Younes "khoyo" Khoudli # Contributor: Maxime "pep" Buquet _pkgname=git-pw _tag=2.3.0 pkgname=${_pkgname} pkgver=${_tag} pkgrel=1 pkgdesc="A tool for integrating Git with Patchwork, the web-based patch tracking system" url='https://github.com/getpatchwork/git-pw' license=('MIT') arch=('any') depends=( 'git' 'python-requests' 'python-click' 'python-pbr' 'python-arrow' 'python-tabulate' 'python-yaml' ) makedepends=('python-setuptools') source=("${_pkgname}::git+https://github.com/getpatchwork/git-pw.git#tag=${_tag}") sha256sums=('SKIP') package() { cd ${_pkgname} python setup.py install --root="${pkgdir}" --optimize=1 install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" mkdir -p "${pkgdir}/usr/share/man/man1" install -Dm644 man/*.1 "${pkgdir}/usr/share/man/man1/" }