blob: 9f247eb703f7609c651d2fcae46b3590f290e384 (
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
34
|
# Maintainer: Erich Eckner <arch at eckner dot net>
# Contributor: Joe Holden <jwh@zorins.us>
_pkgname=onionbalance
pkgname=${_pkgname}-git
pkgver=0.2.2
_commit="${pkgver##*+g}"
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 "${_commit}" | \
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
}
|