1 # Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
2 # Contributor: Ionut Biru <ibiru@archlinux.org>
4 pkgname=networkmanager-pptp
7 pkgdesc="NetworkManager VPN plugin for PPTP"
8 url="https://wiki.gnome.org/Projects/NetworkManager"
26 'libnma-gtk4: GUI support (GTK 4)'
27 'libnma: GUI support (GTK 3)'
29 _commit=ad5a2951d5f281eeea482404058ace8d15e23f30 # tags/1.2.12^0
30 source=("git+https://gitlab.gnome.org/GNOME/NetworkManager-pptp.git#commit=$_commit")
34 cd NetworkManager-pptp
35 git describe --tags | sed 's/-dev/dev/;s/[^-]*-g/r&/;s/-/+/g'
39 cd NetworkManager-pptp
40 intltoolize --automake --copy
45 cd NetworkManager-pptp
46 ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
47 --libexecdir=/usr/lib --disable-static --with-gtk4 \
48 --with-pppd-plugin-dir=/usr/lib/pppd/$_pppver
49 sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
54 cd NetworkManager-pptp
55 make DESTDIR="$pkgdir" install dbusservicedir=/usr/share/dbus-1/system.d
58 # vim:set sw=2 sts=-1 et: