updated on Tue Jan 10 12:02:00 UTC 2012
[aur-mirror.git] / sshmenu / PKGBUILD
bloba4a168dd9384c0ff30792c513348e9e711831649
1 # Maintainer: Phillip Smith <fukawi2@NO-SPAM.gmail.com>
2 # Contributor: Juhani Kurki <coldfinger@last4seasons.net>
4 pkgname=sshmenu
5 pkgver=3.18
6 pkgrel=4
7 pkgdesc="GNOME panel applet that allows you to start up an SSH connection in a new terminal window with a single click."
8 arch=('i686' 'x86_64')
9 url="http://sshmenu.sourceforge.net/"
10 license=("BSD")
11 # You can use 'x11-ssh-askpass' instead of 'gnome-ssh-askpass2' to save having to build more packages from the AUR
12 depends=('openssh' 'gnome-ssh-askpass2' 'ruby' 'ruby-gtk2' 'ruby-gnome2' 'ruby-gconf2' 'ruby-panelapplet2' 'gnome-terminal')
13 source=("http://downloads.sourceforge.net/sshmenu/$pkgname-$pkgver.tar.gz")
14 md5sums=('7e7f43135fd112be3c173ec8585d6b98')
16 build() {
17   msg "Nothing to compile for $pkgname"
20 package() {
21         cd $srcdir/${pkgname}-$pkgver
22   make DESTDIR=$pkgdir install || return 1
23         mkdir -p $pkgdir/usr/share/licenses/$pkgname || return 1
24         install -Dm644 License.txt $pkgdir/usr/share/licenses/$pkgname || return 1
26   # Hack workaround for ruby upgrades - thanks to coopstah13
27   msg "Implementing hacky workaround for ruby updates"
28   cd $pkgdir/usr/lib/ruby || return 1
29   mv 1.8 1.9.1 || return 1
30   sed \
31     -e 's|ftools|fileutils|g' \
32     -i 1.9.1/sshmenu.rb || return 1
35 # vim:set ts=2 sw=2 et: