summaryrefslogtreecommitdiff
path: root/extra/x2goclient/PKGBUILD
blob: 74b5428812005f9e1100ccf7fe4c7766b566a7a0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# $Id: PKGBUILD 204550 2014-01-22 12:35:18Z andyrtr $
# Maintainer: AndyRTR <andyrtr@archlinux.org>
# Contributor: Gerhard Brauer <gerbra@archlinux.de>
# Contributor: Richard Murri <admin@richardmurri.com>

pkgname=x2goclient
pkgver=4.0.1.3
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=('37b946b5b6d0a072a6d1fee98ae43bef929f2abd'
          '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
}