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