milis/talimatname/genel/n/networkmanager-openvpn/talimat

22 lines
811 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Tanım: NetworkManager OpenVPN Eklentisi
# URL: https://wiki.gnome.org/Projects/NetworkManager
# Paketçi: milisarge
# Gerekler: networkmanager intltool python3 git libsecret openvpn gtk3 network-manager-applet
# Grup: ağ
isim=networkmanager-openvpn
surum=1.8.4
devir=1
kaynak=(https://gitlab.gnome.org/GNOME/NetworkManager-openvpn/-/archive/$surum/NetworkManager-openvpn-$surum.tar.gz::$isim-$surum.tar.gz)
derle() {
cd NetworkManager-openvpn-$surum
NOCONFIGURE=1 ./autogen.sh
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
--libexecdir=/usr/lib --disable-static
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
make
make DESTDIR="$PKG" install
echo 'u nm-openvpn - "NetworkManager OpenVPN"' | install -Dm644 /dev/stdin "$PKG/usr/lib/sysusers.d/$isim.conf"
}