aboutsummaryrefslogblamecommitdiffstats
path: root/community/pugixml/APKBUILD
blob: 7642122d40d47d1e47f04fc3141d98e65e169813 (plain) (tree)
1
2
3
4
5
6
7
8
9
10


                                          
          





                                                                             
                          
                                                                                           



                                   


                                            
                                          







                                      
                                                                                                                                                                 
# Contributor: Kevin Daudt <ops@ikke.info>
# Maintainer: Kevin Daudt <ops@ikke.info>
pkgname=pugixml
pkgver=1.9
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"
builddir="$srcdir/$pkgname-$pkgver"

build() {
	cd "$builddir"
	cmake -DCMAKE_INSTALL_PREFIX=/usr \
		-DCMAKE_INSTALL_LIBDIR=lib \
		-DBUILD_SHARED_LIBS=True \
		-DCMAKE_BUILD_TYPE=Release
	make
}

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

sha512sums="853a9d985aae537391c6524d5413ef4de237d99d96cc58ea7fe7152f786df1e408cdacd2e4387697e23c3e67cdc1d42b29de554501309eae16d86edd0e24785f  pugixml-1.9.tar.gz"