blob: 14faf3007b32a6dd84124e657683752fd6cf66f5 (
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
29
30
31
32
33
|
# Maintainer: Erich Eckner <arch at eckner dot net>
# Contributor: Joe Holden <jwh@zorins.us>
_pkgname=onionbalance
pkgname=${_pkgname}-git
pkgver=0.2.2
pkgrel=1
pkgdesc='Onionbalance'
arch=('any')
license=('GPL-3.0')
depends=(tor python-setuptools)
makedepends=('git')
url='https://gitlab.torproject.org/tpo/core/onionbalance'
source=("git+https://gitlab.torproject.org/tpo/core/onionbalance.git")
sha256sums=('SKIP')
pkgver() {
cd $srcdir/$_pkgname
git describe --tags "${pkgver##*+}" | \
sed '
s/^v//
y/-/+/
'
}
build() {
cd $srcdir/$_pkgname
python setup.py build
}
package() {
cd $srcdir/$_pkgname
python setup.py install --root="$pkgdir/" --optimize=1 --skip-build
}
|