diff options
Diffstat (limited to 'extra/networkmanager-pptp')
-rw-r--r-- | extra/networkmanager-pptp/PKGBUILD | 27 | ||||
-rw-r--r-- | extra/networkmanager-pptp/networkmanager-pptp.install | 11 |
2 files changed, 38 insertions, 0 deletions
diff --git a/extra/networkmanager-pptp/PKGBUILD b/extra/networkmanager-pptp/PKGBUILD new file mode 100644 index 000000000..f503331b5 --- /dev/null +++ b/extra/networkmanager-pptp/PKGBUILD @@ -0,0 +1,27 @@ +# $Id: PKGBUILD 98212 2010-11-04 21:20:04Z ibiru $ +# Maintainer: Ionut Biru <ibiru@archlinux.org> + +pkgname=networkmanager-pptp +pkgver=0.8.2 +pkgrel=1 +pkgdesc="NetworkManager VPN plugin for pptp " +arch=('i686' 'x86_64') +license=('GPL') +url="http://www.gnome.org/projects/NetworkManager/" +depends=("networkmanager>=${pkgver}" 'pptpclient') +makedepends=('intltool' 'gtk2' 'libglade' 'gconf' 'libgnome-keyring') +optdepends=('network-manager-applet: GNOME frontends to NetWorkmanager') +options=('!libtool') +install=networkmanager-pptp.install +source=(http://ftp.gnome.org/pub/GNOME/sources/NetworkManager-pptp/0.8/NetworkManager-pptp-${pkgver}.tar.bz2) +sha256sums=('c90172273d6b29a5f3fec138cc474d6a7003edf35918602f3b7283ddd05d87e6') + +build() { + cd "${srcdir}/NetworkManager-pptp-${pkgver}" + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --libexecdir=/usr/lib/networkmanager \ + --disable-static + make + make DESTDIR="${pkgdir}" install +} diff --git a/extra/networkmanager-pptp/networkmanager-pptp.install b/extra/networkmanager-pptp/networkmanager-pptp.install new file mode 100644 index 000000000..931c0517c --- /dev/null +++ b/extra/networkmanager-pptp/networkmanager-pptp.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 +} |