blob: 8215173977c3f3d8f9cdcbfe3bc0c99b7c215beb (
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
35
|
# Maintainer: Michał Masłowski <mtjm@mtjm.eu>
pkgname=h-client
_pkgver=0.0a0.dev-r118
pkgver=${_pkgver/-/.}
pkgrel=1
pkgdesc="A client for an h-source server (such as http://www.h-node.org/)"
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"
# on a machine having Subversion 1.6.x (e.g. on Trisquel 4.0).
source=("https://mtjm.eu/releases/hclient-${_pkgver}.tar.gz"{,.sig})
sha512sums=('af962c67b363435cfa74f7c420760b0254ba3e7c1e6611d5ff276e6595e30dadf1b5d588cd2469647efdbb0099f70a027b9f65d8aeefc70ea712c9ef5d7cbace'
'7d4746297c4a0bd328b1e57f596e827b4a12d2f703d074f7e87ea0c9e3f747c2cfd48da971e81fdaf27939d463b359fac4638820f08486ef28502e769168692d')
build() {
cd "$srcdir/hclient-${_pkgver}"
make
}
check() {
cd "$srcdir/hclient-${_pkgver}"
python2 setup.py test
}
package() {
cd "$srcdir/hclient-${_pkgver}"
python2 setup.py install --root="$pkgdir/" --optimize=1
make DESTDIR="$pkgdir" prefix=/usr install-data
}
# vim:set ts=2 sw=2 et:
|