summaryrefslogtreecommitdiff
path: root/libre
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <andre@pc-01.localdomain>2012-03-13 18:31:17 -0300
committerAndré Fabian Silva Delgado <andre@pc-01.localdomain>2012-03-13 18:31:17 -0300
commit050f166d17cece0bf2b520534582f08df4309434 (patch)
tree4b206aefa556a25be7c8a3f28a8e54b9d6e6fab7 /libre
parentfa24d45a7e46238852af5d1826f9f7885603606d (diff)
parent739cc85cb12c00aaebea366df803f25ea295d172 (diff)
downloadabslibre-050f166d17cece0bf2b520534582f08df4309434.tar.gz
abslibre-050f166d17cece0bf2b520534582f08df4309434.tar.bz2
abslibre-050f166d17cece0bf2b520534582f08df4309434.zip
Merge branch 'master' of ssh://parabolagnulinux.org:1863/abslibre
Diffstat (limited to 'libre')
-rw-r--r--libre/h-client/PKGBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/libre/h-client/PKGBUILD b/libre/h-client/PKGBUILD
new file mode 100644
index 000000000..e77a2437e
--- /dev/null
+++ b/libre/h-client/PKGBUILD
@@ -0,0 +1,34 @@
+# Maintainer: Michał Masłowski <mtjm@mtjm.eu>
+
+pkgname=h-client
+_pkgver=0.0a0.dev-r107
+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"
+# on a machine having Subversion 1.6.x (e.g. on Trisquel 4.0).
+source=("https://mtjm.eu/releases/hclient-${_pkgver}.tar.gz")
+sha512sums=('d820871fcf3f92e6e31aa02273ae413bf066524eaf245f1d4cf7dc8b0ba5799eb07bf86dd28861c8878c73147bbcae563668cb3a6fa9c3382c751e6717d85f0c')
+
+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: