# $Id: PKGBUILD 216796 2014-07-11 14:49:07Z andyrtr $ # Maintainer: AndyRTR # Contributor: Gerhard Brauer # Contributor: Richard Murri pkgname=x2goclient pkgver=4.0.2.1 pkgrel=1 pkgdesc="x2go qt4 client" arch=('i686' 'x86_64') license=('GPL2') url="http://www.x2go.org" depends=('qt4' '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=('fb9e787afc610f69a56ddf61ecc255d62d111189' 'SKIP') build() { cd ${pkgname}-${pkgver} sed -i "s:-o root -g root ::" 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 }