summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a4f34af547da49a6e9d5ab84e70a8c9bf56e9873 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# Maintainer: Josef Vybihal <josef dot vybihal at gmail dot com>
# Ported to GTK3 by https://github.com/dallenwilson
# Old Maintainer: Jeff Henson <jeff at henson dot io>
# Old Maintainer: cuihao <cuihao dot leo at gmail dot com>
# Original PKGBUILD (community/gstm):
# Contributor: Roman Kyrylych <Roman.Kyrylych@gmail.com>
# Contributor: William Rea <sillywilly@gmail.com>
# Contributor: Daniel J Griffiths <ghost1227@archlinux.us>

pkgname=gstm-git
pkgver=1.3.3.r2.g4c584e4
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')
makedepends=('intltool' 'autoconf' 'automake')
conflicts=('gstm' 'gstm-gtk2')
provides=('gstm')
source=('git://github.com/dallenwilson/gstm.git')
sha256sums=('SKIP')
_gitname='gstm'

pkgver() {
  cd "$_gitname"
  git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}


build() {
   cd ${srcdir}/${_gitname}
   ./autogen.sh
   ./configure --prefix=/usr
   make || return 1
}

package() {
   cd ${srcdir}/${_gitname}
   make DESTDIR=${pkgdir} install
}