* update networkmanager-openvpn to 1.10.2-3
This commit is contained in:
parent
3cbea0af5c
commit
b24a8f4589
@ -1,21 +1,31 @@
|
|||||||
# POWER Maintainer: Alexander Baldeck <alex.bldck@gmail.com>
|
|
||||||
# Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
|
# Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
|
||||||
# Contributor: Ionut Biru <ibiru@archlinux.org>
|
# Contributor: Ionut Biru <ibiru@archlinux.org>
|
||||||
|
|
||||||
pkgname=networkmanager-openvpn
|
pkgname=networkmanager-openvpn
|
||||||
pkgver=1.10.2
|
pkgver=1.10.2
|
||||||
pkgrel=1
|
pkgrel=3
|
||||||
pkgdesc="NetworkManager VPN plugin for OpenVPN"
|
pkgdesc="NetworkManager VPN plugin for OpenVPN"
|
||||||
url="https://wiki.gnome.org/Projects/NetworkManager"
|
url="https://wiki.gnome.org/Projects/NetworkManager"
|
||||||
arch=(x86_64 powerpc64le powerpc64 powerpc riscv64)
|
arch=(x86_64 powerpc64le powerpc64 powerpc riscv64)
|
||||||
license=(GPL)
|
license=(GPL)
|
||||||
depends=(libnm libsecret openvpn)
|
depends=(
|
||||||
makedepends=(libnma libnma-gtk4 python git)
|
libnm
|
||||||
optdepends=('libnma: GUI support (GTK 3)'
|
libsecret
|
||||||
'libnma-gtk4: GUI support (GTK 4)')
|
openvpn
|
||||||
|
)
|
||||||
|
makedepends=(
|
||||||
|
git
|
||||||
|
libnma
|
||||||
|
libnma-gtk4
|
||||||
|
python
|
||||||
|
)
|
||||||
|
optdepends=(
|
||||||
|
'libnma-gtk4: GUI support (GTK 4)'
|
||||||
|
'libnma: GUI support (GTK 3)'
|
||||||
|
)
|
||||||
_commit=ae9575dd07cc2d2d51ec8d0297823e07017cb6e6 # tags/1.10.2^0
|
_commit=ae9575dd07cc2d2d51ec8d0297823e07017cb6e6 # tags/1.10.2^0
|
||||||
source=("git+https://gitlab.gnome.org/GNOME/NetworkManager-openvpn.git#commit=$_commit")
|
source=("git+https://gitlab.gnome.org/GNOME/NetworkManager-openvpn.git#commit=$_commit")
|
||||||
sha256sums=('SKIP')
|
b2sums=('SKIP')
|
||||||
|
|
||||||
pkgver() {
|
pkgver() {
|
||||||
cd NetworkManager-openvpn
|
cd NetworkManager-openvpn
|
||||||
@ -28,9 +38,17 @@ prepare() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
|
local configure_options=(
|
||||||
|
--prefix=/usr
|
||||||
|
--sysconfdir=/etc
|
||||||
|
--localstatedir=/var
|
||||||
|
--libexecdir=/usr/lib
|
||||||
|
--disable-static
|
||||||
|
--with-gtk4
|
||||||
|
)
|
||||||
|
|
||||||
cd NetworkManager-openvpn
|
cd NetworkManager-openvpn
|
||||||
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
|
./configure "${configure_options[@]}"
|
||||||
--libexecdir=/usr/lib --disable-static --with-gtk4
|
|
||||||
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
|
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
|
||||||
make
|
make
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user