summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorMuflone2015-12-08 17:54:42 +0100
committerMuflone2015-12-08 17:54:42 +0100
commitd8968f7107b1bcc8c90cace4d003a5bd6b811a0c (patch)
treec97e6cb6dec385c37275c7f18b273a5231194fc4 /PKGBUILD
downloadaur-d8968f7107b1bcc8c90cace4d003a5bd6b811a0c.tar.gz
New package python2-x2go 0.5.0.4-1
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD23
1 files changed, 23 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 000000000000..70a560d66cdb
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,23 @@
+# Maintainer: Muflone http://www.muflone.com/contacts/english/
+
+pkgname=python2-x2go
+_pkgbase=python-x2go
+pkgver=0.5.0.4
+pkgrel=1
+pkgdesc="Python 2.x module providing X2Go client API"
+url="http://www.x2go.org/"
+arch=('any')
+license=('AGPL')
+makedepends=('python2' 'python2-setuptools' 'epydoc')
+depends=('python2' 'python2-gevent' 'python2-paramiko' 'python2-requests'
+ 'python2-simplejson' 'python2-xlib' 'nxproxy')
+source=("http://code.x2go.org/releases/source/${pkgbase}/${_pkgbase}-${pkgver}.tar.gz")
+sha256sums=('db971e96cc32d10782fdfbce04f1f8316c63510872d03cae99842bf96e2ab6c9')
+
+package() {
+ cd "${srcdir}/${_pkgbase}-${pkgver}"
+ python2 setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1
+ install -m 755 -d "${pkgdir}/usr/share/doc/${pkgname}"
+ epydoc --name "Python X2Go" --url http://www.x2go.org --no-private \
+ --html --quiet --output "${pkgdir}/usr/share/doc/${pkgname}" x2go/
+}