summaryrefslogtreecommitdiff
path: root/testing/networkmanager-vpnc
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-10-30 23:14:36 +0000
committerroot <root@rshg054.dnsready.net>2011-10-30 23:14:36 +0000
commitf935ebf41c626e4832f86c5f3f7ed1cc35128f6b (patch)
tree47a2300dc31ddb01a11ad22b0a515de26f752c18 /testing/networkmanager-vpnc
parent4fd31f219f19dfc2168702cef9421eaaccd9b3e6 (diff)
Sun Oct 30 23:14:36 UTC 2011
Diffstat (limited to 'testing/networkmanager-vpnc')
-rw-r--r--testing/networkmanager-vpnc/PKGBUILD31
-rw-r--r--testing/networkmanager-vpnc/networkmanager-vpnc.install11
2 files changed, 42 insertions, 0 deletions
diff --git a/testing/networkmanager-vpnc/PKGBUILD b/testing/networkmanager-vpnc/PKGBUILD
new file mode 100644
index 000000000..53d3ebcf1
--- /dev/null
+++ b/testing/networkmanager-vpnc/PKGBUILD
@@ -0,0 +1,31 @@
+# $Id: PKGBUILD 141317 2011-10-29 08:17:45Z ibiru $
+# Maintainer: Ionut Biru <ibiru@archlinux.org>
+
+pkgname=networkmanager-vpnc
+pkgver=0.9.1.95
+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' 'gtk3' 'libgnome-keyring')
+makedepends=('intltool')
+optdepends=('network-manager-applet: GNOME frontends to NetWorkmanager')
+options=('!libtool')
+install=networkmanager-vpnc.install
+source=(http://ftp.gnome.org/pub/GNOME/sources/NetworkManager-vpnc/0.9/NetworkManager-vpnc-${pkgver}.tar.xz)
+sha256sums=('92f8d701eef988b68462fd36f8fed0f974aee0b2f1c651d188b5ed67b701ea69')
+
+build() {
+ cd "${srcdir}/NetworkManager-vpnc-${pkgver}"
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --libexecdir=/usr/lib/networkmanager \
+ --disable-static
+ make
+}
+
+package() {
+ cd "${srcdir}/NetworkManager-vpnc-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+}
diff --git a/testing/networkmanager-vpnc/networkmanager-vpnc.install b/testing/networkmanager-vpnc/networkmanager-vpnc.install
new file mode 100644
index 000000000..931c0517c
--- /dev/null
+++ b/testing/networkmanager-vpnc/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
+}