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


                   
                          
                                                                                         

         

                                             

                                            
                                       



            


                                      
                                                                                                                                                                    
# Maintainer: Kevin Daudt <kdaudt@alpinelinux.org>
pkgname=pugixml
pkgver=1.11.4
pkgrel=1
pkgdesc="Light-weight, simple and fast XML parser for C++ with XPath support"
options="!check" # No testsuite
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="c83f57ef2492eee359d979597fb5089b8eca547bb9d41cfbb6bcf43d59fe75e6780b0f31dd593145ec9888c065153aba52702667e2de213fa080cd51e9e13a38  pugixml-1.11.4.tar.gz"