aboutsummaryrefslogtreecommitdiffstats
path: root/community/pugixml/APKBUILD
blob: 2625f870fb15e3bc88a312e9756ac5074847f760 (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.10
pkgrel=0
pkgdesc="Light-weight, simple and fast XML parser for C++ with XPath support"
url="http://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=Release
	make
}

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

sha512sums="bfc80661005d0a0fb82ca6d5299e5efdd1bb468e11ee52d7ee9367e15776d28efb60266ce03842715cd43aae023afc2b369797bb3cbecd6d6a65c3ae3903e469  pugixml-1.10.tar.gz"