diff options
author | Sergey Shatunov | 2022-05-20 20:51:31 +0800 |
---|---|---|
committer | Mantas Mikulėnas | 2022-05-20 16:30:32 +0300 |
commit | 573d1ab02a8b5742583b88246dae00d901fbf343 (patch) | |
tree | cbd5a857c03581997ba875ebbd54dfee9c047ed1 | |
parent | eb728747a537bf1c669c087ca180f2a23b9d7321 (diff) | |
download | aur-573d1ab02a8b5742583b88246dae00d901fbf343.tar.gz |
Split build into prepare & build, add check
Signed-off-by: Sergey Shatunov <me@aur.rocks>
-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() { |