blob: 5e988d060f1b4a935c6d5a84768eb6392c5b4105 (
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-r129
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' 'python2-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=('e4f8f88db5cd27bb3304c1421bd661da9c52a15297d273cd6fa81ccfd0f1c9b210dc87373ecc6d414585c525a570c7f783d706fa67e247562fd8c7fa5e59a9e7'
'5712b41c4a4d45482e96825762955855212c3594b61624495e6ddec0b85a4718e080da1c99be22cb91aa644ee65d3708cc06b004f84b6facf2531b7b4c897c03')
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:
|