contrib/pugixml/Pkgfile

20 lines
561 B
Plaintext

# Description: Light-weight, simple and fast XML parser for C++ with XPath support
# URL: https://pugixml.org
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: cmake
name=pugixml
version=1.10
release=1
source=(http://github.com/zeux/pugixml/releases/download/v$version/$name-$version.tar.gz)
build() {
cmake -S$name-$version -Bbuild \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DBUILD_SHARED_LIBS=ON ../
cmake --build build
DESTDIR=$PKG cmake --build build --target install
}