summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 432acd8d0c9dedd821ce88a728a1799db39a6979 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Maintainer: Alex Xu <alex_y_xu@yahoo.ca>

pkgname=nyx
pkgver=2.0.4
pkgrel=1
pkgdesc="Command-line status monitor for tor"
arch=(any)
url="https://nyx.torproject.org/"
license=(GPL3)
depends=('python-setuptools' 'stem>=1.6.0')
_pypiname=${pkgname^?}
source=(https://files.pythonhosted.org/packages/source/${_pypiname::1}/${_pypiname}/${pkgname}-${pkgver}.tar.gz
	https://files.pythonhosted.org/packages/source/${_pypiname::1}/${_pypiname}/${pkgname}-${pkgver}.tar.gz.asc)
md5sums=('14dbd97e35ffcedbe7fd7124a21b3e5e'
         'SKIP')
validpgpkeys=('68278CC5DD2D1E85C4E45AD90445B7AB9ABBEEC6')

build() {
    cd "$srcdir/$pkgname-$pkgver"

    python setup.py build
}

package() {
    cd "$srcdir/$pkgname-$pkgver"

    python setup.py install --optimize=1 --root="$pkgdir"
}