mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-20 10:46:59 +02:00
31 lines
802 B
Text
31 lines
802 B
Text
# Contributor: André Klitzing <aklitzing@gmail.com>
|
|
# Maintainer: André Klitzing <aklitzing@gmail.com>
|
|
pkgname=tinyxml2
|
|
pkgver=11.0.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="
|
|
8a6ddd48c96bc4287437d5b5ca62c131c4416c57310b664c9088ca9c1ac9f4d43d16c1bad03f82dc5588d9486752f510d631609a3930f1d4243f12184ad1c5f9 tinyxml2-11.0.0.tar.gz
|
|
"
|