testing/libsfdo: new aport

This commit is contained in:
Alexey Yerin 2024-09-15 20:37:54 +03:00 committed by Patrycja Rosa
parent 10e7a9f142
commit a811ef518b

31
testing/libsfdo/APKBUILD Normal file
View File

@ -0,0 +1,31 @@
# Contributor: Alexey Yerin <yyp@disroot.org>
# Maintainer: Alexey Yerin <yyp@disroot.org>
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
"