[arch-commits] Commit in tinyxml2/repos (2 files)

Jaroslav Lichtblau jlichtblau at archlinux.org
Mon Dec 11 18:40:58 UTC 2017


    Date: Monday, December 11, 2017 @ 18:40:57
  Author: jlichtblau
Revision: 273800

archrelease: copy trunk to community-staging-x86_64

Added:
  tinyxml2/repos/community-staging-x86_64/
  tinyxml2/repos/community-staging-x86_64/PKGBUILD
    (from rev 273799, tinyxml2/trunk/PKGBUILD)

----------+
 PKGBUILD |   38 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 38 insertions(+)

Copied: tinyxml2/repos/community-staging-x86_64/PKGBUILD (from rev 273799, tinyxml2/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2017-12-11 18:40:57 UTC (rev 273800)
@@ -0,0 +1,38 @@
+# $Id: PKGBUILD 148562 2015-12-05 17:09:20Z foutrelis $
+# Maintainer: Alexander F Rødseth <xyproto at archlinux.org>
+# Maintainer: Jaroslav Lichtblau <svetlemodry at archlinux.org>
+# Contributor: dhead666 <myfoolishgames at gmail.com>
+
+pkgname=tinyxml2
+pkgver=6.0.0
+pkgrel=1
+pkgdesc='Simple XML parser made for easy integration'
+url='http://www.grinninglizard.com/tinyxml2/'
+arch=('x86_64')
+license=('zlib')
+depends=('gcc-libs')
+makedepends=('git' 'cmake' 'ninja')
+source=($pkgname-$pkgver.tar.gz::https://github.com/leethomason/$pkgname/archive/$pkgver.tar.gz)
+sha256sums=('9444ba6322267110b4aca61cbe37d5dcab040344b5c97d0b36c119aa61319b0f')
+
+build() {
+  cd "${srcdir}"/$pkgname-$pkgver
+
+  install -d build
+  cd build
+  cmake .. \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_INSTALL_LIBDIR=lib \
+    -DCMAKE_BUILD_TYPE=Release \
+    -G Ninja
+  ninja
+}
+
+package() {
+  cd "${srcdir}"/$pkgname-$pkgver
+
+  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