1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
6 pkgdesc="CLI tool to run copr"
7 url="https://pagure.io/copr/copr"
10 depends=('python-copr' 'python-humanize' 'python-jinja' 'python-setuptools' 'python-simplejson')
11 checkdepends=('python-pytest' 'python-responses')
12 source=("https://pagure.io/copr/copr/archive/copr-cli-$pkgver-1/copr-copr-cli-$pkgver-1.tar.gz")
13 sha512sums=('8ef4d95c9eb86d8c3521a01919485d52b776a38d09f33bc03035d7fb7c481fecd042bbef8af463dd2e17d54810032efe6934fedd864dd25568fb712e9aaf394d')
16 cd copr-copr-cli-$pkgver-1/cli
21 cd copr-copr-cli-$pkgver-1/cli
26 cd copr-copr-cli-$pkgver-1/cli
27 python setup.py install --root="$pkgdir" --optimize=1
28 install -Dm644 man/*.1 -t "$pkgdir"/usr/share/man/man1/