summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 991f7c0faa43e8015b72fefb7fd7a82b432395fb (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
# 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}"
}