aboutsummaryrefslogtreecommitdiffstats
path: root/main/tinyxml2/APKBUILD
blob: 4caeb0e00d3bb6f1ea01f089f5e2c973e76f30dd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Contributor: André Klitzing <aklitzing@gmail.com>
# Maintainer: André Klitzing <aklitzing@gmail.com>
pkgname=tinyxml2
pkgver=10.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="
a359d33bc12fad455b53d81011dbe12727cae0aabfaa5704f1a25807ca216dd854a571291029886c0beedeca5c3b6393dd49c4718773e18a0e008abbdb3de36a  tinyxml2-10.0.0.tar.gz
"