[arch-commits] Commit in x2goclient/repos (6 files)
Andreas Radke
andyrtr at archlinux.org
Fri May 29 20:20:27 UTC 2015
Date: Friday, May 29, 2015 @ 22:20:27
Author: andyrtr
Revision: 239884
archrelease: copy trunk to testing-i686, testing-x86_64
Added:
x2goclient/repos/testing-i686/
x2goclient/repos/testing-i686/PKGBUILD
(from rev 239883, x2goclient/trunk/PKGBUILD)
x2goclient/repos/testing-i686/x2goclient.install
(from rev 239883, x2goclient/trunk/x2goclient.install)
x2goclient/repos/testing-x86_64/
x2goclient/repos/testing-x86_64/PKGBUILD
(from rev 239883, x2goclient/trunk/PKGBUILD)
x2goclient/repos/testing-x86_64/x2goclient.install
(from rev 239883, x2goclient/trunk/x2goclient.install)
-----------------------------------+
testing-i686/PKGBUILD | 70 ++++++++++++++++++++++++++++++++++++
testing-i686/x2goclient.install | 11 +++++
testing-x86_64/PKGBUILD | 70 ++++++++++++++++++++++++++++++++++++
testing-x86_64/x2goclient.install | 11 +++++
4 files changed, 162 insertions(+)
Copied: x2goclient/repos/testing-i686/PKGBUILD (from rev 239883, x2goclient/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD (rev 0)
+++ testing-i686/PKGBUILD 2015-05-29 20:20:27 UTC (rev 239884)
@@ -0,0 +1,70 @@
+# $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.0.4.0
+pkgrel=1
+arch=('i686' 'x86_64')
+license=('GPL2')
+url="http://www.x2go.org"
+makedepends=('qt4' 'libldap' 'libcups' 'nxproxy' 'libssh' 'libxpm' 'hicolor-icon-theme' 'xdg-utils')
+source=(http://code.x2go.org/releases/source/${pkgname}/${pkgname}-${pkgver}.tar.gz{,.asc})
+sha256sums=('86d05ce10039fe0a965cdc55086e00f4f3abc573a96f128b92f87081b7251657'
+ '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 -qp | awk -F':' '/^[a-zA-Z0-9][^$#\/\t=]*:([^=]|$)/ {split($1,A,/ /);for(i in A)print A[i]}' | grep ^install
+# return 1
+
+ make PREFIX=/usr
+ make PREFIX=/usr build_man # target broken and making the build hang
+
+# make PREFIX=/usr build_pluginprovider
+# make PREFIX=/usr build_client
+# make PREFIX=/usr build_plugin
+}
+
+package_x2goclient() {
+
+ pkgdesc="a graphical client (Qt4) for the X2Go system"
+ depends=('qt4' 'libldap' 'libcups' 'nxproxy' 'libssh' 'libxpm' 'hicolor-icon-theme' 'xdg-utils')
+ install=x2goclient.install
+
+ 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
+}
Copied: x2goclient/repos/testing-i686/x2goclient.install (from rev 239883, x2goclient/trunk/x2goclient.install)
===================================================================
--- testing-i686/x2goclient.install (rev 0)
+++ testing-i686/x2goclient.install 2015-05-29 20:20:27 UTC (rev 239884)
@@ -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
+}
Copied: x2goclient/repos/testing-x86_64/PKGBUILD (from rev 239883, x2goclient/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2015-05-29 20:20:27 UTC (rev 239884)
@@ -0,0 +1,70 @@
+# $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.0.4.0
+pkgrel=1
+arch=('i686' 'x86_64')
+license=('GPL2')
+url="http://www.x2go.org"
+makedepends=('qt4' 'libldap' 'libcups' 'nxproxy' 'libssh' 'libxpm' 'hicolor-icon-theme' 'xdg-utils')
+source=(http://code.x2go.org/releases/source/${pkgname}/${pkgname}-${pkgver}.tar.gz{,.asc})
+sha256sums=('86d05ce10039fe0a965cdc55086e00f4f3abc573a96f128b92f87081b7251657'
+ '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 -qp | awk -F':' '/^[a-zA-Z0-9][^$#\/\t=]*:([^=]|$)/ {split($1,A,/ /);for(i in A)print A[i]}' | grep ^install
+# return 1
+
+ make PREFIX=/usr
+ make PREFIX=/usr build_man # target broken and making the build hang
+
+# make PREFIX=/usr build_pluginprovider
+# make PREFIX=/usr build_client
+# make PREFIX=/usr build_plugin
+}
+
+package_x2goclient() {
+
+ pkgdesc="a graphical client (Qt4) for the X2Go system"
+ depends=('qt4' 'libldap' 'libcups' 'nxproxy' 'libssh' 'libxpm' 'hicolor-icon-theme' 'xdg-utils')
+ install=x2goclient.install
+
+ 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
+}
Copied: x2goclient/repos/testing-x86_64/x2goclient.install (from rev 239883, x2goclient/trunk/x2goclient.install)
===================================================================
--- testing-x86_64/x2goclient.install (rev 0)
+++ testing-x86_64/x2goclient.install 2015-05-29 20:20:27 UTC (rev 239884)
@@ -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
+}
More information about the arch-commits
mailing list