Created
June 2, 2014 11:46
-
-
Save bbidulock/60f51eec4fce0a6694ed to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Maintainer: Brian Bidulock <bidulock@openss7.org> | |
# Contributor: Majki <majki@majki.hu> | |
pkgname=tsclient2 | |
pkgver=2.0.1 | |
pkgrel=9 | |
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' 'libgnomeui' 'networkmanager' 'desktop-file-utils') | |
makedepends=('perlxml' 'sharutils') | |
conflicts=('tsclient') | |
source=(http://downloads.sourceforge.net/sourceforge/tsclient/tsclient-$pkgver.tar.bz2) | |
md5sums=('3de7131156f37c5ef1028a5f03ed021b') | |
install=${pkgname}.install | |
build() { | |
cd "$srcdir/tsclient-$pkgver" | |
sed -i '/PKG_CONFIG.*libgnome-2.0/s/libgnome-2.0/libgnome-2.0\ libgnomeui-2.0/' configure | |
sed -i '/Exec/s/.*/Exec=tsclient/' data/tsclient.desktop.in | |
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 | |
sed -i 's/libnm_glib/libnm-glib/g' configure | |
./configure --prefix=/usr --sysconfdir=/etc | |
make | |
} | |
package() { | |
cd "$srcdir/tsclient-$pkgver" | |
make DESTDIR="$pkgdir" install | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
post_install() { | |
gtk-update-icon-cache -f /usr/share/icons/hicolor | |
update-desktop-database -q | |
} | |
post_remove() { | |
post_install | |
} | |
post_upgrade() { | |
post_install | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment