28 lines
908 B
Bash
28 lines
908 B
Bash
# Template file for 'NetworkManager-openvpn'
|
|
pkgname=NetworkManager-openvpn
|
|
version=1.8.12
|
|
revision=2
|
|
build_style=gnu-configure
|
|
configure_args="--disable-static"
|
|
hostmakedepends="automake gettext-devel glib-devel intltool libtool pkg-config"
|
|
makedepends="gtk+3-devel libglib-devel libnma-devel libsecret-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=0efda8878aaf0e6eb5071a053aea5d7f9d42aac097b3ff89e7cbc9233f815318
|
|
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
|
|
}
|
|
|
|
pre_configure() {
|
|
autoreconf -fi
|
|
}
|