aports/testing/libglib-testing/APKBUILD

34 lines
857 B
Text

# Contributor: Angelo Verlain <hey@vixalien.com>
# Maintainer: Angelo Verlain <hey@vixalien.com>
pkgname=libglib-testing
pkgver=0.1.1
pkgrel=0
pkgdesc="Test harnesses and mock classes for GLib"
url="https://gitlab.gnome.org/pwithnall/libglib-testing"
arch="all"
license="LGPL-2.1-or-later"
makedepends="
dbus
dbus-dev
glib-dev
gtk-doc
meson
"
subpackages="$pkgname-dev $pkgname-doc"
source="https://gitlab.gnome.org/pwithnall/libglib-testing/-/archive/$pkgver/libglib-testing-$pkgver.tar.gz"
build() {
abuild-meson . output
meson compile -C output
}
check() {
meson test --print-errorlogs -C output
}
package() {
DESTDIR="$pkgdir" meson install --no-rebuild -C output
}
sha512sums="
62feadc3c4f5363de436a045e43284310a4192b3e18f0f44b9efbe207f76b5990d700e82213cc799b3455725a3e374256fb2d8c1a784430862e199a7c9e32295 libglib-testing-0.1.1.tar.gz
"