blob: 4a82f2f5c2d0762085554764b564afa73788cabf (
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
|
pkgname=python-stem-git
pkgver=1.1.1.r22.ga6d025d
pkgrel=1
epoch=1
pkgdesc='A controller library for Tor'
arch=('any')
url='https://stem.torproject.org/'
license=('LGPL3')
depends=('python')
makedepends=('git')
conflicts=('python-stem')
provides=('python-stem')
source=('git+https://git.torproject.org/stem.git')
sha256sums=('SKIP')
_gitname='stem'
pkgver() {
cd "$srcdir/$_gitname"
git describe --long | sed -E 's/([^-]*-g)/r\1/;s/-/./g'
}
package() {
cd "$srcdir/$_gitname"
python setup.py install --root="$pkgdir/" --optimize=1
}
# vim:set ts=2 sw=2 et:
|