summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO19
-rw-r--r--PKGBUILD29
2 files changed, 48 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..b7ee1df7ca0
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,19 @@
+pkgbase = openconnect-gui
+ pkgdesc = The GUI client for OpenConnect VPN
+ pkgver = 1.5.3
+ pkgrel = 1
+ url = https://openconnect.github.io/openconnect-gui/
+ arch = x86_64
+ license = GPL2
+ makedepends = cmake
+ makedepends = make
+ makedepends = git
+ makedepends = qt5-base
+ depends = openconnect
+ depends = qt5-base
+ provides = openconnect
+ source = https://github.com/openconnect/openconnect-gui/archive/v1.5.3.tar.gz
+ sha256sums = 1c90399689c0720660c9d98d841119ceccc698e5cd46bf0c12b85334ca995347
+
+pkgname = openconnect-gui
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..991f7c0faa4
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,29 @@
+# Maintainer: Oleg Reich <root (at) archlinux (dot) guru>
+
+pkgname=openconnect-gui
+pkgver=1.5.3
+pkgrel=1
+pkgdesc="The GUI client for OpenConnect VPN"
+arch=('x86_64')
+url="https://openconnect.github.io/openconnect-gui/"
+license=('GPL2')
+provides=('openconnect')
+depends=('openconnect' 'qt5-base')
+makedepends=('cmake' 'make' 'git' 'qt5-base')
+source=("https://github.com/openconnect/${pkgname}/archive/v${pkgver}.tar.gz")
+sha256sums=('1c90399689c0720660c9d98d841119ceccc698e5cd46bf0c12b85334ca995347')
+
+build() {
+ cd ${pkgname}-${pkgver}
+ mkdir build-release
+ cd build-release
+ cmake -DCMAKE_BUILD_TYPE=Release ..
+ make
+}
+
+package() {
+ cd ${pkgname}-${pkgver}
+ install -Dm644 LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+ cd build-release/bin
+ install -Dm755 $pkgname "${pkgdir}/usr/bin/${pkgname}"
+}