diff options
author | root <root@rshg054.dnsready.net> | 2011-08-24 23:14:38 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2011-08-24 23:14:38 +0000 |
commit | f53c212680c1817ef2337855ef8814dea6b07e4e (patch) | |
tree | c93db9dbaade4f2c86a8d550c237edf7d574f6da /testing/networkmanager-openvpn | |
parent | 9254c2bc6500471b22eead69781ddef84f87e2bf (diff) |
Wed Aug 24 23:14:37 UTC 2011
Diffstat (limited to 'testing/networkmanager-openvpn')
-rw-r--r-- | testing/networkmanager-openvpn/PKGBUILD | 31 | ||||
-rw-r--r-- | testing/networkmanager-openvpn/networkmanager-openvpn.install | 11 |
2 files changed, 42 insertions, 0 deletions
diff --git a/testing/networkmanager-openvpn/PKGBUILD b/testing/networkmanager-openvpn/PKGBUILD new file mode 100644 index 000000000..f1c520cb9 --- /dev/null +++ b/testing/networkmanager-openvpn/PKGBUILD @@ -0,0 +1,31 @@ +# $Id: PKGBUILD 136155 2011-08-23 08:09:55Z ibiru $ +# Maintainer: Ionut Biru <ibiru@archlinux.org> + +pkgname=networkmanager-openvpn +pkgver=0.9.0 +pkgrel=1 +pkgdesc="NetworkManager VPN plugin for OpenVPN" +arch=('i686' 'x86_64') +license=('GPL') +url="http://www.gnome.org/projects/NetworkManager/" +depends=("networkmanager>=${pkgver}" 'openvpn' 'gtk3' 'libgnome-keyring') +makedepends=('intltool') +optdepends=('network-manager-applet: GNOME frontends to NetWorkmanager') +install=networkmanager-openvpn.install +options=('!libtool') +source=(http://ftp.gnome.org/pub/GNOME/sources/NetworkManager-openvpn/0.9/NetworkManager-openvpn-${pkgver}.tar.xz) +sha256sums=('741e39bcedd589b656067c9d3aa45ebca41a0f329914d157450f4b92e79bf7ee') + +build() { + cd "${srcdir}/NetworkManager-openvpn-${pkgver}" + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --libexecdir=/usr/lib/networkmanager \ + --disable-static + make +} + +package() { + cd "${srcdir}/NetworkManager-openvpn-${pkgver}" + make DESTDIR="${pkgdir}" install +} diff --git a/testing/networkmanager-openvpn/networkmanager-openvpn.install b/testing/networkmanager-openvpn/networkmanager-openvpn.install new file mode 100644 index 000000000..931c0517c --- /dev/null +++ b/testing/networkmanager-openvpn/networkmanager-openvpn.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 +} |