# Maintainer: Andrew Sun # Contributor: Michael J. Pento pkgname=onioncircuits pkgver=0.8.1 pkgrel=1 pkgdesc="GTK application to display Tor circuits and streams" arch=('any') url="https://gitlab.tails.boum.org/tails/onioncircuits" license=('GPL3') depends=('tor' 'hicolor-icon-theme' 'python>=3.4.2' 'python-gobject>=3.14.0' 'python-stem>=1.2.2' 'gobject-introspection' 'python-pycountry') makedepends=('git' 'python-setuptools' 'python-distutils-extra') _commit=e195c046fd20ad0c21ec5b626ee87ab71501b88d # tags/0.8.1^0 source=("git+https://gitlab.tails.boum.org/tails/onioncircuits.git#commit=${_commit}") sha256sums=('SKIP') pkgver() { cd "${srcdir}/${pkgname}" git describe --tags | sed 's/-/+/g' } build() { cd "${srcdir}/${pkgname}" python setup.py build } package() { cd "${srcdir}/${pkgname}" python setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1 --skip-build }