# $Id: PKGBUILD 175060 2013-01-12 11:27:38Z andyrtr $ # Maintainer: AndyRTR # Contributor: Gerhard Brauer # Contributor: Richard Murri 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 }