pkgname=switcheroo-control pkgver=2.5 pkgrel=1 pkgdesc="D-Bus service to check the availability of dual-GPU" arch=(i686 x86_64) url="https://gitlab.freedesktop.org/hadess/switcheroo-control" license=(GPL3) depends=(glib2 libgudev python) makedepends=(git libxslt meson systemd umockdev) _commit=992977918026e4eec352d38728b2e55f73fd02d2 source=("git+https://gitlab.freedesktop.org/hadess/switcheroo-control.git#commit=$_commit") sha256sums=('SKIP') pkgver() { cd $pkgname git describe | sed 's/-/.r/; s/-/./' } build() { arch-meson $pkgname build ninja -C build } package() { DESTDIR="$pkgdir" meson install -C build } # vim: ts=2:sw=2:et