# Maintainer: Kazuo Teramoto pkgbase=('stig-git') pkgname=('stig-git') pkgver=0.4.0a.r0.ecaf209 pkgrel=1 pkgdesc="TUI and CLI client for the Transmission daemon" url="https://github.com/rndusr/stig" depends=('python' 'python-urwid' 'python-urwidtrees-git' 'python-aiohttp' 'python-appdirs' 'python-blinker') makedepends=('git' 'python-setuptools') optdepends=('python-geoip: shows country codes in peer lists') license=('GPL') arch=('any') provides=('stig') conflicts=('stig') source=("git+https://github.com/rndusr/stig.git#branch=dev") sha256sums=('SKIP') pkgver() { cd stig printf "%s" "$(git describe --long | sed 's/\([^-]*-\)g/r\1/;s/-/./g;s/^v//')" } build() { cd stig python setup.py build } package() { cd stig python setup.py install --root="${pkgdir}" --optimize=1 --skip-build }