22 lines
811 B
Plaintext
22 lines
811 B
Plaintext
# 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"
|
||
}
|