aports/testing/c-utf8/APKBUILD
2023-05-30 23:25:41 +02:00

33 lines
782 B
Plaintext

# Contributor: Jakub Jirutka <jakub@jirutka.cz>
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
pkgname=c-utf8
pkgver=1.0.0
pkgrel=1
pkgdesc="UTF-8 Handling in Standard ISO-C11"
url="https://github.com/c-util/c-utf8"
arch="all"
license="Apache-2.0 OR LGPL-2.1-or-later"
makedepends="
c-stdaux-dev~=1
meson
"
subpackages="$pkgname-dev"
source="https://github.com/c-util/c-utf8/archive/v$pkgver/c-utf8-$pkgver.tar.gz"
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="
935e3ec7520c75ef9a45396518d4131d3c464dc1e9fabbf6fed561a361f4b546ed849209c2611fdbeaf2572a855edd061364d3f4576c176a95ad82f15ba7e5af c-utf8-1.0.0.tar.gz
"