void-packages/srcpkgs/NetworkManager-openvpn/template
2019-02-09 19:44:09 -02:00

23 lines
845 B
Bash

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