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

22 lines
811 B
Plaintext
Raw Normal View History

2018-08-16 17:04:56 +02:00
# Tanım: NetworkManager OpenVPN Eklentisi
# URL: https://wiki.gnome.org/Projects/NetworkManager
# Paketçi: milisarge
2018-08-16 17:11:24 +02:00
# Gerekler: networkmanager intltool python3 git libsecret openvpn gtk3 network-manager-applet
2018-08-16 17:04:56 +02:00
# 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() {
2018-08-16 17:06:24 +02:00
cd NetworkManager-openvpn-$surum
2018-08-16 17:04:56 +02:00
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"
}