summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Bidulock2015-06-11 01:08:34 -0600
committerBrian Bidulock2015-06-11 01:08:34 -0600
commit2d52086d3feba7597fc6c3dfd93d5c1b5d1ec9c8 (patch)
tree5d766a85e07124e2c84ce55e6767e9400a2f6907
downloadaur-2d52086d3feba7597fc6c3dfd93d5c1b5d1ec9c8.tar.gz
initial version
-rw-r--r--.SRCINFO24
-rw-r--r--PKGBUILD36
-rw-r--r--networkmanager-vpnc.install11
3 files changed, 71 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..56631aab6f0
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,24 @@
+pkgbase = networkmanager-vpnc-gtk2
+ pkgdesc = NetworkManager VPN plugin for vpnc
+ pkgver = 0.9.8.6
+ pkgrel = 1
+ url = http://www.gnome.org/projects/NetworkManager/
+ install = networkmanager-vpnc.install
+ arch = i686
+ arch = x86_64
+ license = GPL
+ makedepends = intltool
+ depends = networkmanager>=0.9.8
+ depends = vpnc
+ depends = hicolor-icon-theme
+ depends = gtk2
+ depends = libgnome-keyring
+ optdepends = network-manager-applet: GNOME frontends to NetWorkmanager
+ provides = networkmanager-vpnc
+ conflicts = networkmanager-vpnc
+ options = !libtool
+ source = http://ftp.gnome.org/pub/GNOME/sources/NetworkManager-vpnc/0.9/NetworkManager-vpnc-0.9.8.6.tar.xz
+ sha256sums = 40306cd713d4e6e9df6a520d2992664d22173b3327e94df45a6dac23f0a8abd6
+
+pkgname = networkmanager-vpnc-gtk2
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..510ff3c5c77
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,36 @@
+# $Id: PKGBUILD 194799 2013-09-23 17:25:00Z heftig $
+# Maintainer: Ionut Biru <ibiru@archlinux.org>
+
+pkgname=networkmanager-vpnc-gtk2
+_pkgname=networkmanager-vpnc
+pkgver=0.9.8.6
+pkgrel=1
+pkgdesc="NetworkManager VPN plugin for vpnc"
+arch=('i686' 'x86_64')
+license=('GPL')
+url="http://www.gnome.org/projects/NetworkManager/"
+depends=("networkmanager>=${pkgver%.*}" 'vpnc' 'hicolor-icon-theme' 'gtk2' 'libgnome-keyring')
+makedepends=('intltool')
+optdepends=('network-manager-applet: GNOME frontends to NetWorkmanager')
+options=('!libtool')
+provides=($_pkgname)
+conflicts=($_pkgname)
+install=networkmanager-vpnc.install
+source=(http://ftp.gnome.org/pub/GNOME/sources/NetworkManager-vpnc/0.9/NetworkManager-vpnc-${pkgver}.tar.xz)
+sha256sums=('40306cd713d4e6e9df6a520d2992664d22173b3327e94df45a6dac23f0a8abd6')
+
+build() {
+ cd NetworkManager-vpnc-${pkgver}
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --libexecdir=/usr/lib/networkmanager \
+ --disable-static \
+ --with-gtkver=2 \
+ --enable-more-warnings=no
+ make
+}
+
+package() {
+ cd NetworkManager-vpnc-${pkgver}
+ make DESTDIR="${pkgdir}" install
+}
diff --git a/networkmanager-vpnc.install b/networkmanager-vpnc.install
new file mode 100644
index 00000000000..931c0517cb7
--- /dev/null
+++ b/networkmanager-vpnc.install
@@ -0,0 +1,11 @@
+post_install() {
+ gtk-update-icon-cache -f -q -t /usr/share/icons/hicolor
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+post_remove() {
+ post_install $1
+}