# Maintainer: Josef Vybihal # Ported to GTK3 by https://github.com/dallenwilson # Old Maintainer: Jeff Henson # Old Maintainer: cuihao # Original PKGBUILD (community/gstm): # Contributor: Roman Kyrylych # Contributor: William Rea # Contributor: Daniel J Griffiths pkgname=gstm-git pkgver=1.3.7.r11.g359a9f8 pkgrel=1 pkgdesc="Gnome SSH Tunnel Manager - Gtk3 Edition" arch=('i686' 'x86_64') url="https://github.com/dallenwilson/gstm" license=('GPL') depends=('openssh' 'libxml2' 'glib2' 'gdk-pixbuf2' 'gtk3' 'libappindicator-gtk3') makedepends=('intltool' 'autoconf' 'automake' 'gcc' 'pkgconf' 'make') conflicts=('gstm' 'gstm-gtk2') provides=('gstm') source=('git+https://github.com/dallenwilson/gstm.git') sha256sums=('SKIP') pkgver() { cd "${pkgname%-git}" git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' } prepare() { cd ${srcdir}/${pkgname%-git} #autoconf -I m4 ./autogen.sh } build() { cd ${srcdir}/${pkgname%-git} ./configure --prefix=/usr make || return 1 } package() { cd ${srcdir}/${pkgname%-git} make DESTDIR=${pkgdir} install }