diff options
author | revel | 2015-06-21 16:39:22 +0200 |
---|---|---|
committer | revel | 2015-06-21 16:39:22 +0200 |
commit | 4acc4d2222e457a4c2746a6d006bad9541c7a148 (patch) | |
tree | f63a981a87246c6380f855b9da55fbf968c015e9 | |
download | aur-4acc4d2222e457a4c2746a6d006bad9541c7a148.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 19 | ||||
-rw-r--r-- | PKGBUILD | 41 |
2 files changed, 60 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..4c8f78910615 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,19 @@ +pkgbase = gopenvpn-git + pkgdesc = gopenvpn is a simple graphical front-end for OpenVPN, the open source VPN solution. + pkgver = svn.migration.r12.gb4192eb + pkgrel = 4 + url = http://gopenvpn.sourceforge.net/ + arch = i686 + arch = x86_64 + license = GPL + makedepends = git + depends = libglade + depends = libgnome-keyring + depends = gtk2 + depends = openvpn + optdepends = gnome-keyring: handle credentials + source = gopenvpn-git::git://gopenvpn.git.sourceforge.net/gitroot/gopenvpn/gopenvpn.git + md5sums = SKIP + +pkgname = gopenvpn-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..7c8fb916dd77 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,41 @@ +# Maintainer: revel <revelΘmuub·net> + +pkgname=gopenvpn-git +pkgver=svn.migration.r12.gb4192eb +pkgrel=4 +pkgdesc='gopenvpn is a simple graphical front-end for OpenVPN, the open source VPN solution.' +arch=('i686' 'x86_64') +url='http://gopenvpn.sourceforge.net/' +license=('GPL') +depends=('libglade' 'libgnome-keyring' 'gtk2' 'openvpn') +optdepends=('gnome-keyring: handle credentials') +makedepends=('git') +source=("$pkgname"::'git://gopenvpn.git.sourceforge.net/gitroot/gopenvpn/gopenvpn.git' + ) +md5sums=('SKIP' + ) + +pkgver() { + cd "$pkgname" + # Use the tag of the last commit + git describe --long | sed -E 's/([^-]*-g)/r\1/;s/-/./g' +} + +prepare() { + cd "$pkgname" + sed -i "/ACLOCAL_AMFLAGS = -I m4/d" Makefile.am + sed -i "s/AM_GNU_GETTEXT_VERSION(\[0\.18\.1\])/AM_GNU_GETTEXT_VERSION([0.19])/g" configure.ac + sed -i "s/\/usr\/sbin\/openvpn/\/usr\/bin\/openvpn/g" polkit/net.openvpn.gui.gopenvpn.policy +} + +build() { + cd "$pkgname" + autoreconf -vi + ./configure --prefix=/usr + make +} + +package() { + cd "$pkgname" + make DESTDIR="$pkgdir" install +} |