1 # Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
2 # Contributor: Mark Wagie <mark dot wagie at tutanota dot com>
3 # Contributor: Mantas <grawity at gmail dot com>
5 pkgname=switcheroo-control
8 pkgdesc="D-Bus service to check the availability of dual-GPU"
9 url="https://gitlab.freedesktop.org/hadess/switcheroo-control"
25 checkdepends=(umockdev)
26 _commit=0dd257edd6b27589d2a1013cda1d2d5f325eee8b # tags/2.6^0
27 source=("git+$url.git#commit=$_commit")
32 git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
41 arch-meson $pkgname build "${meson_options[@]}"
42 meson compile -C build
46 meson test -C build --print-errorlogs
50 meson install -C build --destdir "$pkgdir"
53 # vim:set sw=2 sts=-1 et: