1 # Contributor: Gerhard Brauer <gerbra@archlinux.de>
2 # Contributor: Richard Murri <admin@richardmurri.com>
6 pkgdesc="x2go qt4 client"
9 url="http://www.x2go.org"
10 depends=(qt libldap libcups nxproxy libssh)
11 source=(http://code.x2go.org/releases/source/${pkgname}/${pkgname}_${pkgver}.tar.gz
13 groups=('x2go' 'alts')
14 md5sums=('1a8346a5520cf95c6044ec7522fff176'
15 'c4080efb09d4d6bf29aac2621cda04d5')
18 cd "${srcdir}/${pkgname}_${pkgver}"
21 patch -Np1 < ../gcc4.3.patch
23 sed -i 's/linux-g++/unix/g' x2goclient.pro
28 # install client binary
29 install -D -m755 x2goclient $pkgdir/usr/bin/x2goclient
32 install -D -m644 icons/128x128/x2goclient.png $pkgdir/usr/share/x2goclient/icons/x2goclient.png
33 install -D -m644 icons/128x128/x2goclient.png $pkgdir/usr/share/pixmaps/x2goclient.png
34 install -D -m644 icons/16x16/x2goclient.png $pkgdir/usr/share/icons/hicolor/16x16/apps/x2goclient.png
35 install -D -m644 icons/32x32/x2goclient.png $pkgdir/usr/share/icons/hicolor/32x32/apps/x2goclient.png
36 install -D -m644 icons/64x64/x2goclient.png $pkgdir/usr/share/icons/hicolor/64x64/apps/x2goclient.png
37 install -D -m644 icons/128x128/x2goclient.png $pkgdir/usr/share/icons/hicolor/128x128/apps/x2goclient.png
39 # install desktop entry
40 install -D -m644 desktop/x2goclient.desktop $pkgdir/usr/share/applications/x2goclient.desktop