1 # Contributor: Majki <majki@majki.hu>
5 pkgdesc="Terminal Server Client [tsclient] is a GTK2 frontend for rdesktop and other remote desktop tools."
7 url="http://sourceforge.net/projects/tsclient"
9 depends=('rdesktop>=1.3' 'gnome-panel>=2.0' 'networkmanager>=0.7.0')
10 makedepends=('sed' 'perlxml' 'sharutils' 'pkgconfig')
11 conflicts=('tsclient')
12 source=(http://downloads.sourceforge.net/sourceforge/tsclient/tsclient-$pkgver.tar.bz2)
13 md5sums=('3de7131156f37c5ef1028a5f03ed021b')
14 install=${pkgname}.install
17 cd "$srcdir/tsclient-$pkgver"
19 sed -i '/PKG_CONFIG.*libgnome-2.0/s/libgnome-2.0/libgnome-2.0\ libgnomeui-2.0/' configure
20 sed -i '/Exec/s/.*/Exec=tsclient/' data/tsclient.desktop.in
21 sed -i '/notify_notification_new/s/, NULL//' src/plugins/default/tsc-rdp-connection.c
22 sed -i '/notify_notification_new/s/, NULL//' src/plugins/default/tsc-vnc-connection.c
23 sed -i 's/libnm_glib/libnm-glib/g' configure
24 ./configure --prefix=/usr
26 make DESTDIR="$pkgdir" install