void-packages/srcpkgs/NetworkManager-openvpn/template
2017-09-22 10:10:50 +02:00

23 lines
825 B
Bash

# Template build file for 'NetworkManager-openvpn'.
pkgname=NetworkManager-openvpn
version=1.8.0
revision=1
lib32disabled=yes
build_style=gnu-configure
configure_args="--disable-static"
hostmakedepends="pkg-config intltool"
makedepends="gtk+3-devel network-manager-applet-devel libsecret-devel"
depends="openvpn"
short_desc="NetworkManager VPN plugin for OpenVPN"
homepage="https://wiki.gnome.org/Projects/NetworkManager"
distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
license="GPL-2"
maintainer="Enno Boland <gottox@voidlinux.eu>"
checksum=166e1123ade1b322162b83876c605393a8e74240aa908cba934319f312b2e3a4
system_accounts="_nm_openvpn"
_nm_openvpn_homedir="/var/empty"
post_extract() {
sed -i 's/\(#define NM_OPENVPN_\(USER\|GROUP\)\).*/\1 "_nm_openvpn"/' \
shared/nm-service-defines.h
}