# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=networkmanager-openvpn _pkgname=NetworkManager-openvpn pkgver=1.8.10 pkgrel=3 pkgdesc="NetworkManager VPN plugin for OpenVPN" url="https://wiki.gnome.org/Projects/NetworkManager/VPN" arch="all !s390x" # Limited by network-manager-applet-dev -> networkmanager-dev license="GPL-2.0-or-later" depends="openvpn dbus:org.freedesktop.Secrets" makedepends="intltool glib-dev gtk+3.0-dev network-manager-applet-dev libsecret-dev" source="https://download.gnome.org/sources/$_pkgname/${pkgver%.*}/$_pkgname-$pkgver.tar.xz" subpackages="$pkgname-lang" install="$pkgname.pre-install $pkgname.pre-upgrade" builddir="$srcdir/$_pkgname-$pkgver" build() { ./configure \ --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ --libexecdir=/usr/lib \ --disable-static \ --without-libnm-glib } check() { make check } package() { DESTDIR="$pkgdir" make install } sha512sums="f710848fccf21ac4554a2b46e80cf890c011edc6d64d9a49d6d8669f3ff71f7990e11e6f4681bb85d30238ec05f2fc79c4619983f6860c6ab0d714f941a3dfcc NetworkManager-openvpn-1.8.10.tar.xz"