[arch-commits] Commit in (6 files)
Alexander Rødseth
arodseth at archlinux.org
Tue May 24 19:43:53 UTC 2016
Date: Tuesday, May 24, 2016 @ 21:43:52
Author: arodseth
Revision: 176451
Add tinyxml2, the modern version of tinyxml
Added:
tinyxml2/
tinyxml2/repos/
tinyxml2/repos/community-i686/
tinyxml2/repos/community-x86_64/
tinyxml2/trunk/
tinyxml2/trunk/PKGBUILD
----------+
PKGBUILD | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
Added: tinyxml2/trunk/PKGBUILD
===================================================================
--- tinyxml2/trunk/PKGBUILD (rev 0)
+++ tinyxml2/trunk/PKGBUILD 2016-05-24 19:43:52 UTC (rev 176451)
@@ -0,0 +1,36 @@
+# $Id: PKGBUILD 148562 2015-12-05 17:09:20Z foutrelis $
+# Maintainer: Alexander F Rødseth <rodseth at gmail.com>
+# Contributor: dhead666 <myfoolishgames at gmail.com>
+
+pkgname=tinyxml2
+pkgver=3.0.0
+pkgrel=1
+pkgdesc='Simple, small, C++ XML parser that can be easily integrated into other programs'
+url='http://www.grinninglizard.com/tinyxml2/'
+arch=('x86_64' 'i686')
+license=('zlib')
+depends=('gcc-libs')
+makedepends=('git' 'cmake' 'ninja')
+source=("git://github.com/leethomason/tinyxml2#tag=$pkgver")
+md5sums=('SKIP')
+
+build() {
+ cd "$pkgname"
+
+ mkdir -p build
+ cd build
+ cmake .. \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib \
+ -DCMAKE_BUILD_TYPE=Release \
+ -G Ninja
+ ninja
+}
+
+package() {
+ cd "$pkgname"
+ DESTDIR="$pkgdir" ninja -C build install
+ install -Dm644 readme.md "$pkgdir/usr/share/licenses/$pkgname/README.md"
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list