diff options
author | Brian Bidulock | 2015-06-11 01:39:08 -0600 |
---|---|---|
committer | Brian Bidulock | 2015-06-11 01:39:08 -0600 |
commit | bcc02d07b988acddea247bfc6c57cc318099163d (patch) | |
tree | 5dde808c428d6176e9c43a7e5e8303ecf11e7214 /PKGBUILD | |
download | aur-tsclient2-svn.tar.gz |
initial version
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..ccf6001e3bf0 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,42 @@ +# Maintainer: Brian Bidulock <bidulock@openss7.org> +# Contributor: Majki <majki@majki.hu> +pkgname=tsclient2-svn +pkgver=r127 +pkgrel=1 +pkgdesc="Terminal Server Client [tsclient] is a GTK2 frontend for rdesktop and other remote desktop tools." +arch=('i686' 'x86_64') +url="http://sourceforge.net/projects/tsclient" +license=('GPL') +depends=('rdesktop' 'gnome-desktop2' 'networkmanager' 'libgnomeui' 'desktop-file-utils') +makedepends=('perlxml' 'sharutils' 'subversion' 'gnome-common') +conflicts=('tsclient') +provides=('tsclient2' 'tsclient') +replaces=('tsclient2') +install=${pkgname}.install +source=("$pkgname::svn://svn.code.sf.net/p/tsclient/code/branches/tsclient-unstable") +md5sums=('SKIP') + +pkgver() { + cd $pkgname + local ver="$(svnversion)" + printf "r%s" "${ver//[[:alpha:]]}" +} + +prepare() { + cd $pkgname + sed -i '/Exec/s/.*/Exec=tsclient/' data/tsclient.desktop.in + sed -i '/notify_notification_new/s/, NULL//' src/plugins/default/tsc-dmx-connection.c + sed -i '/notify_notification_new/s/, NULL//' src/plugins/default/tsc-rdp-connection.c + sed -i '/notify_notification_new/s/, NULL//' src/plugins/default/tsc-vnc-connection.c +} + +build() { + cd $pkgname + ./autogen.sh --prefix=/usr --sysconfdir=/etc + make +} + +package() { + cd $pkgname + make DESTDIR="$pkgdir" install +} |