[arch-commits] Commit in x2goclient/repos (testing-x86_64 testing-x86_64/PKGBUILD)

Andreas Radke andyrtr at archlinux.org
Fri Feb 16 18:54:46 UTC 2018


    Date: Friday, February 16, 2018 @ 18:54:44
  Author: andyrtr
Revision: 317160

archrelease: copy trunk to testing-x86_64

Added:
  x2goclient/repos/testing-x86_64/
  x2goclient/repos/testing-x86_64/PKGBUILD
    (from rev 317159, x2goclient/trunk/PKGBUILD)

----------+
 PKGBUILD |   67 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 67 insertions(+)

Copied: x2goclient/repos/testing-x86_64/PKGBUILD (from rev 317159, x2goclient/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2018-02-16 18:54:44 UTC (rev 317160)
@@ -0,0 +1,67 @@
+# $Id$
+# Maintainer: AndyRTR <andyrtr at archlinux.org>
+# Contributor: Gerhard Brauer <gerbra at archlinux.de>
+# Contributor: Richard Murri <admin at richardmurri.com>
+
+pkgbase=x2goclient
+pkgname=('x2goclient' 'x2goplugin' 'x2goplugin-provider')
+pkgver=4.1.1.1
+pkgrel=1
+arch=('x86_64')
+license=('GPL2')
+url="http://www.x2go.org"
+makedepends=('qt4'
+             #'qt5-x11extras' 'qt5-tools' 'qt5-svg' 'phonon-qt5'
+             'libldap' 'libcups' 'nxproxy' 'libssh' 'libxpm' 
+             'man2html' 'hicolor-icon-theme' 'xdg-utils' 'xorg-xauth')
+source=(https://code.x2go.org/releases/source/${pkgname}/${pkgname}-${pkgver}.tar.gz{,.asc})
+sha256sums=('e3fa40cc13d779b230d44087f7515ad57cd1cbd030c3430b1c222cb481e5f44b'
+            'SKIP')
+validpgpkeys=('9BFBAEE86C0AA5FFBF2207829AF46B3025771B31'  # Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
+              '1AD23D1B8F087A35AB74BDE9F4A7678C9C6B0B2B') #  "X2go Git Administrator <git-admin at x2go.org>"
+
+prepare() {
+  cd ${pkgname}-${pkgver}
+  sed -i "s:-o root -g root ::" Makefile
+}
+
+build() {
+  cd ${pkgname}-${pkgver}
+  make PREFIX=/usr
+  make PREFIX=/usr build_man
+}
+
+package_x2goclient() {
+  
+  pkgdesc="a graphical client (Qt4) for the X2Go system"
+  depends=('qt4' 'libldap' 'libcups' 'nxproxy' 'libssh' 'libxpm' 'hicolor-icon-theme')
+  # FS#48088
+  optdepends=('xorg-xauth: may be required by X2goservers running a different linux distribution giving MIT-COOKIE errors')
+
+  cd ${pkgbase}-${pkgver}
+  make PREFIX=/usr DESTDIR="$pkgdir" install_client install_man
+}
+
+package_x2goplugin() {
+  pkgdesc="provides X2Go Client as QtBrowser-based Mozilla plugin"
+  depends=('qt4'  'libcups' 'nxproxy' 'libssh' 'libxpm')
+  
+  cd ${pkgbase}-${pkgver}
+  make PREFIX=/usr DESTDIR="$pkgdir" install_plugin
+}
+
+package_x2goplugin-provider() {
+  
+  pkgdesc="an example configuration for providing the X2Go Plugin via an Apache webserver"
+  depends=('apache')
+  backup=(etc/x2go/plugin-provider/x2goplugin.html
+          etc/x2go/x2goplugin-apache.conf
+          etc/httpd/conf/x2goplugin-apache.conf)
+  	
+  cd ${pkgbase}-${pkgver}
+  make PREFIX=/usr DESTDIR="$pkgdir" install_pluginprovider
+  
+  install -dm755 ${pkgdir}/etc/httpd/conf
+  cd ${pkgdir}/etc/httpd/conf
+  ln -svf /etc/x2go/x2goplugin-apache.conf ${pkgdir}/etc/httpd/conf/x2goplugin-apache.conf 
+}



More information about the arch-commits mailing list