diff --git a/testing/libsfdo/APKBUILD b/testing/libsfdo/APKBUILD new file mode 100644 index 00000000000..4ef75522995 --- /dev/null +++ b/testing/libsfdo/APKBUILD @@ -0,0 +1,31 @@ +# Contributor: Alexey Yerin +# Maintainer: Alexey Yerin +pkgname=libsfdo +pkgver=0.1.2 +pkgrel=0 +pkgdesc="A collection of libraries which implement freedesktop.org specifications" +url="https://gitlab.freedesktop.org/vyivel/libsfdo" +arch="all" +license="BSD-2-Clause" +makedepends="meson" +subpackages="$pkgname-dev" +source="$pkgname-$pkgver.tar.gz::https://gitlab.freedesktop.org/vyivel/libsfdo/-/archive/v$pkgver/libsfdo-v$pkgver.tar.gz" +builddir="$srcdir/$pkgname-v$pkgver" + +build() { + abuild-meson \ + . output + meson compile -C output +} + +check() { + meson test --no-rebuild --print-errorlogs -C output +} + +package() { + DESTDIR="$pkgdir" meson install --no-rebuild -C output +} + +sha512sums=" +27884fcc8d145c686a8a986e577f5b3f4ac48512fec0881c839c7a1588920df1487f1dd2b4b40df9497bbcf9db05e183b87632cf23ee18c7a523f86c3fbadee6 libsfdo-0.1.2.tar.gz +"