aboutsummarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 38cd31b1d59132052d2d82dad3ab52e6af90ed46 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Contributor: Balló György <ballogyor+arch at gmail dot com>
# Contributor: Jagadeesh Kotra <jagadeesh at stdin dot top>

pkgname=eovpn
pkgver='1.30'
pkgrel=3
pkgdesc='Application to connect, manage and update OpenVPN configurations'
arch=('x86_64')
url='https://github.com/jkotra/eOVPN'
license=('GPL3')
depends=('gtk4' 'python' 'networkmanager' 'libsecret' 'libnotify' 'networkmanager-openvpn' 'python-gobject')
optdepends=('openvpn3')
makedepends=('gobject-introspection' 'meson' 'python-cffi')
source=("https://github.com/jkotra/eOVPN/archive/refs/tags/$pkgver.tar.gz")
sha256sums=('b356df78d629081f4bcd21f66b7e6458b289a966c898acbacc036f21a5d7bbcf')

build() {
  if command -v openvpn3 > /dev/null; then
  	echo "building with openvpn3 support!"
  	arch-meson eOVPN-$pkgver build -Dopenvpn3=true
  else
  	arch-meson eOVPN-$pkgver build
  fi
  
  meson compile -C build
}

package() {
  DESTDIR="$pkgdir" meson install -C build
}