aports/main/tinyxml2/APKBUILD

32 lines
802 B
Plaintext

# Contributor: André Klitzing <aklitzing@gmail.com>
# Maintainer: André Klitzing <aklitzing@gmail.com>
pkgname=tinyxml2
pkgver=10.1.0
pkgrel=0
pkgdesc="Simple, small and efficient C++ XML parser"
url="https://github.com/leethomason/tinyxml2"
arch="all"
license="Zlib"
makedepends="meson"
subpackages="$pkgname-dev"
source="$pkgname-$pkgver.tar.gz::https://github.com/leethomason/tinyxml2/archive/$pkgver.tar.gz"
build() {
abuild-meson \
-Dtests=true \
. output
meson compile -C output
}
check() {
meson test --no-rebuild --print-errorlogs -C output
}
package() {
DESTDIR="$pkgdir" meson install --no-rebuild -C output
}
sha512sums="
acdd42c7431de65272fdcb2cdf64beb44efc97deffed45f9933453883182238a60071bec5dda2f87d166dd8455e8cd3118af6937ddd7c6abacafda2a060f6cc6 tinyxml2-10.1.0.tar.gz
"