From 0d0a5a0ec66c79a4c2fd9a0a086e8e2c3e5f8568 Mon Sep 17 00:00:00 2001 From: Manuel UtG Date: Fri, 30 May 2014 15:23:11 +0000 Subject: [PATCH] x2goclient 4.0.2.0 - import from ccr --- x2goclient/PKGBUILD | 37 +++++++++++++++++++++++++++++++++++ x2goclient/x2goclient.install | 11 +++++++++++ 2 files changed, 48 insertions(+) create mode 100644 x2goclient/PKGBUILD create mode 100644 x2goclient/x2goclient.install diff --git a/x2goclient/PKGBUILD b/x2goclient/PKGBUILD new file mode 100644 index 000000000..7e53955e2 --- /dev/null +++ b/x2goclient/PKGBUILD @@ -0,0 +1,37 @@ +# Maintainer: UtG +# Contributor from CCR: Gui||aume + +pkgname=x2goclient +pkgver=4.0.2.0 +pkgrel=1 +pkgdesc="x2go qt4 client" +arch=('x86_64') +license=('GPL2') +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{,.asc}) +sha1sums=('bbe8efb2df88bfa18b056c52ee0b1cca7a52b71b' + 'SKIP') + +build() { + cd ${pkgname}-${pkgver} + + sed -i "s:-o root -g root ::" Makefile + sed -i "s/qmake-qt4/qmake/" config_linux.sh + sed -i "s/qmake-qt4/qmake/" config_linux_plugin.sh + sed -i "s/qmake-qt4/qmake/" Makefile + sed -i "s/lrelease-qt4/lrelease/" Makefile + + #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() { + cd ${pkgname}-${pkgver} + make PREFIX=/usr DESTDIR="$pkgdir" install +} diff --git a/x2goclient/x2goclient.install b/x2goclient/x2goclient.install new file mode 100644 index 000000000..becd68a23 --- /dev/null +++ b/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 +}