1 # Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
2 # Contributor: Ionut Biru <ibiru@archlinux.org>
4 pkgname=networkmanager-vpnc
7 pkgdesc="NetworkManager VPN plugin for VPNC"
8 url="https://wiki.gnome.org/Projects/NetworkManager"
24 'libnma-gtk4: GUI support (GTK 4)'
25 'libnma: GUI support (GTK 3)'
27 _commit=75f664ff13ff1de9bf305894ccd94b30867bd06a # tags/1.2.8^0
28 source=("git+https://gitlab.gnome.org/GNOME/NetworkManager-vpnc.git#commit=$_commit")
32 cd NetworkManager-vpnc
33 git describe --tags | sed 's/-dev/dev/;s/[^-]*-g/r&/;s/-/+/g'
37 cd NetworkManager-vpnc
39 # https://gitlab.gnome.org/GNOME/NetworkManager-vpnc/-/issues/8
40 # https://gitlab.gnome.org/GNOME/NetworkManager-vpnc/-/merge_requests/9
41 git cherry-pick -n f4df2db6ca1c0dfe29ea721c443f38c545721be9
43 intltoolize --automake --copy
48 cd NetworkManager-vpnc
49 ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
50 --libexecdir=/usr/lib --disable-static --with-gtk4
51 sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
56 cd NetworkManager-vpnc
57 make DESTDIR="$pkgdir" install dbusservicedir=/usr/share/dbus-1/system.d
60 # vim:set sw=2 sts=-1 et: