blob: a92c2eb6d578da230e244294635e88b3cf7ba628 (
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
|
# Maintainer: Michał Masłowski <mtjm@mtjm.eu>
pkgname=h-client
_pkgver=0.0a0.dev-r50
pkgver=${_pkgver/-/.}
pkgrel=1
pkgdesc="A client for an h-source server (such as http://www.h-node.com)"
arch=('any')
url="https://savannah.nongnu.org/projects/h-client/"
license=('GPL3')
depends=('python2' 'python2-distribute' 'python-pycurl' 'pygtk')
options=(!emptydirs)
# Official source is in SVN, this is made by "python2 setup.py sdist".
source=("http://mtjm.eu/releases/hclient-${_pkgver}.tar.gz")
sha512sums=('fa9c494d32d900bf34d9af1a68e79abbffb29380fbc1812290130e4183b496c1c29f09da216ada7898d69c8ecda58621862507672193cc4fd14ce942dfb7c986')
check() {
cd "$srcdir/hclient-${_pkgver}"
python2 setup.py test
}
package() {
cd "$srcdir/hclient-${_pkgver}"
# Remove tests, they aren't useful after installation.
rm -rf {,build/lib/}tests_hclient
rm -rf {,build/lib/}hclient.egg-info
python2 setup.py install --root="$pkgdir/" --optimize=1
}
# vim:set ts=2 sw=2 et:
|