diff options
-rw-r--r-- | .SRCINFO | 3 | ||||
-rw-r--r-- | PKGBUILD | 9 |
2 files changed, 9 insertions, 3 deletions
@@ -1,11 +1,12 @@ pkgbase = switcheroo-control pkgdesc = D-Bus service to check the availability of dual-GPU pkgver = 2.5 - pkgrel = 1 + pkgrel = 2 url = https://gitlab.freedesktop.org/hadess/switcheroo-control arch = i686 arch = x86_64 license = GPL3 + checkdepends = dbus-python makedepends = git makedepends = libxslt makedepends = meson @@ -1,12 +1,13 @@ pkgname=switcheroo-control pkgver=2.5 -pkgrel=1 +pkgrel=2 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) +checkdepends=(dbus-python) _commit=992977918026e4eec352d38728b2e55f73fd02d2 source=("git+https://gitlab.freedesktop.org/hadess/switcheroo-control.git#commit=$_commit") sha256sums=('SKIP') @@ -18,7 +19,11 @@ pkgver() { build() { arch-meson $pkgname build - ninja -C build + meson compile -C build +} + +check() { + meson test -C build } package() { |