summaryrefslogtreecommitdiff
path: root/extra/x2goclient
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-01-13 01:15:03 -0800
committerroot <root@rshg054.dnsready.net>2013-01-13 01:15:03 -0800
commit7cb984c0e1226ac1e5606206ff7c6a34eecb63fd (patch)
tree3817ae238a5af5ce6194ac0b861420148eaaff96 /extra/x2goclient
parent8c2563c3c13cb7a279544f6926cbdd2eb902cc9a (diff)
Sun Jan 13 01:14:34 PST 2013
Diffstat (limited to 'extra/x2goclient')
-rw-r--r--extra/x2goclient/PKGBUILD29
-rw-r--r--extra/x2goclient/x2goclient.install11
2 files changed, 40 insertions, 0 deletions
diff --git a/extra/x2goclient/PKGBUILD b/extra/x2goclient/PKGBUILD
new file mode 100644
index 000000000..41394e64e
--- /dev/null
+++ b/extra/x2goclient/PKGBUILD
@@ -0,0 +1,29 @@
+# $Id: PKGBUILD 175060 2013-01-12 11:27:38Z andyrtr $
+# Maintainer: AndyRTR <andyrtr@archlinux.org>
+# Contributor: Gerhard Brauer <gerbra@archlinux.de>
+# Contributor: Richard Murri <admin@richardmurri.com>
+
+pkgname=x2goclient
+pkgver=4.0.0.1
+pkgrel=1
+pkgdesc="x2go qt4 client"
+arch=('i686' 'x86_64')
+license=('GPL')
+url="http://www.x2go.org"
+depends=('qt' 'libldap' 'libcups' 'nxproxy' 'libssh' 'libxpm' 'hicolor-icon-theme' 'xdg-utils')
+makedepends=('man2html')
+install=x2goclient.install
+source=(http://code.x2go.org/releases/source/${pkgname}/${pkgname}-${pkgver}.tar.gz)
+md5sums=('e8786329cfe97652d337f71caa71f432')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ sed -i "s:qmake-qt4:qmake:g" Makefile
+ sed -i "s:-o root -g root ::" Makefile
+ make PREFIX=/usr
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make PREFIX=/usr DESTDIR="$pkgdir" install
+}
diff --git a/extra/x2goclient/x2goclient.install b/extra/x2goclient/x2goclient.install
new file mode 100644
index 000000000..51c21a337
--- /dev/null
+++ b/extra/x2goclient/x2goclient.install
@@ -0,0 +1,11 @@
+post_install() {
+ xdg-icon-resource forceupdate --theme hicolor
+}
+
+post_upgrade() {
+ xdg-icon-resource forceupdate --theme hicolor
+}
+
+post_remove() {
+ xdg-icon-resource forceupdate --theme hicolor
+}