summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e30422265274ea437c009fb33bc485ddd6f87521 (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
# Based on the files created for Arch Linux by:
# American_Jesus <american.jesus.pt AT gmail DOT com>
# Gregory Petrosyan <gregory.mkv at gmail.com>

pkgname=connman-gtk
pkgver=1.1.1
pkgrel=2
pkgdesc="Tray menu and GUI for ConnMan"
arch=('x86_64')
url="https://github.com/jgke/connman-gtk"
license=('GPL2')
depends=('glib2' 'gtk3')
makedepends=('intltool' 'git' 'meson' 'openconnect')
optdepends=('openconnect: Easier authentication to AnyConnect VPNs')
_commit=b72c6ab3bb19c07325c8e659902b046daa23c506
source=("git+https://github.com/jgke/connman-gtk.git#commit=$_commit")
sha256sums=('SKIP')

build() {
  mkdir build
  meson --prefix /usr --buildtype=plain -Duse_openconnect=dynamic "${srcdir}/${pkgname}" build
  ninja -C build
}

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