aboutsummaryrefslogtreecommitdiffstats
path: root/community/pugixml/APKBUILD
blob: 25343e200b4223aa4c970ffd4857197308563b17 (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
# Contributor: Kevin Daudt <ops@ikke.info>
# Maintainer: Kevin Daudt <ops@ikke.info>
pkgname=pugixml
pkgver=1.11.2
pkgrel=0
pkgdesc="Light-weight, simple and fast XML parser for C++ with XPath support"
url="https://pugixml.org"
arch="all"
license="MIT"
makedepends="cmake"
subpackages="$pkgname-dev"
source="http://github.com/zeux/pugixml/releases/download/v$pkgver/pugixml-$pkgver.tar.gz"

build() {
	cmake \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DCMAKE_INSTALL_LIBDIR=lib \
		-DBUILD_SHARED_LIBS=True \
		-DCMAKE_BUILD_TYPE=None
	make
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="403ef9f642fba6aff2d642399516886c0cda44ca19c58eeb05594aa7220562afbee939a5edab0c85263596834c5bdaea82a346dd8ee00a712e97b564f0d1e52d  pugixml-1.11.2.tar.gz"