diff options
author | sl1pkn07 | 2015-06-08 19:34:05 +0200 |
---|---|---|
committer | sl1pkn07 | 2015-06-08 19:34:05 +0200 |
commit | e4a6e16db362d229e98a43ce2ce85f4d9290908f (patch) | |
tree | c1300d2e1f9cd8a65f418e1a4f95192ddf225a4d | |
download | aur-e4a6e16db362d229e98a43ce2ce85f4d9290908f.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | .gitignore | 4 | ||||
-rw-r--r-- | PKGBUILD | 30 |
3 files changed, 50 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..5e0ecef98e94 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = pugixml-shared + pkgdesc = Light-weight, simple and fast XML parser for C++ with XPath support + pkgver = 1.6 + pkgrel = 1 + url = http://pugixml.org/ + arch = x86_64 + arch = i686 + license = MIT + makedepends = cmake + provides = pugixml + conflicts = pugixml + source = http://github.com/zeux/pugixml/releases/download/v1.6/pugixml-1.6.tar.gz + sha1sums = 0c22fc238b209c9fd1802b74927f0b1e9f68011c + +pkgname = pugixml-shared + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..05c6d4d4c97b --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +* +!.gitignore +!.SRCINFO +!PKGBUILD diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..081305c3f241 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,30 @@ +pkgname=pugixml-shared +pkgver=1.6 +pkgrel=1 +pkgdesc="Light-weight, simple and fast XML parser for C++ with XPath support" +url="http://pugixml.org/" +arch=('x86_64' 'i686') +license=('MIT') +makedepends=('cmake') +conflicts=('pugixml') +provides=('pugixml') +source=("http://github.com/zeux/pugixml/releases/download/v${pkgver}/pugixml-${pkgver}.tar.gz") +sha1sums=('0c22fc238b209c9fd1802b74927f0b1e9f68011c') + +prepare() { + mkdir -p build +} + +build() { + cd build + + cmake "../pugixml-${pkgver}/scripts" \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DBUILD_SHARED_LIBS=ON + make +} + +package() { + make -C build DESTDIR="${pkgdir}" install +} |