summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 2f72d882280c5b839d49e1947c533359553db6d1 (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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# Maintainer: Rafael Fontenelle <rafaelff@gnome.org>
# Contributor: Marcel Unbehaun <f.rostze.ux at gmail dot com>

pkgname=boatswain
pkgver=0.4.0
pkgrel=2
pkgdesc='Control Elgato Stream Deck devices'
arch=(x86_64)
url='https://gitlab.gnome.org/World/boatswain'
license=(GPL-3.0-or-later)
depends=(
  hidapi
  libadwaita
  libgusb
  libpeas-2
  libportal-gtk4
  libsecret
)
makedepends=(
  git
  meson
  glib2-devel
  gobject-introspection
)
_commit=c7049d3d # tags/0.4.0
source=("git+${url}.git#commit=$_commit")
sha1sums=('SKIP')

pkgver() {
  cd $pkgname
  git describe --tags
}

build() {
  arch-meson $pkgname build
  meson compile -C build
}

check() {
  meson test -C build --print-errorlogs
}

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