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

Felix Yan felixonmars at archlinux.org
Tue Jul 7 16:26:38 UTC 2020


    Date: Tuesday, July 7, 2020 @ 16:26:37
  Author: felixonmars
Revision: 659248

archrelease: copy trunk to community-staging-x86_64

Added:
  pugixml/repos/community-staging-x86_64/
  pugixml/repos/community-staging-x86_64/PKGBUILD
    (from rev 659247, pugixml/trunk/PKGBUILD)

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

Copied: pugixml/repos/community-staging-x86_64/PKGBUILD (from rev 659247, pugixml/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-07-07 16:26:37 UTC (rev 659248)
@@ -0,0 +1,32 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+# Contributor: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Gustavo Alvarez <sl1pkn07 at gmail.com>
+
+pkgname=pugixml
+pkgver=1.10
+pkgrel=2
+pkgdesc="Light-weight, simple and fast XML parser for C++ with XPath support"
+arch=(x86_64)
+url="https://pugixml.org"
+license=(MIT)
+depends=(gcc-libs)
+makedepends=(cmake)
+source=("https://github.com/zeux/pugixml/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.gz")
+sha256sums=('55f399fbb470942410d348584dc953bcaec926415d3462f471ef350f29b5870a')
+
+prepare() {
+    mkdir -p build
+}
+
+build() {
+    cd build
+    cmake ../${pkgname}-${pkgver} \
+        -DCMAKE_INSTALL_PREFIX=/usr \
+        -DBUILD_SHARED_LIBS=ON
+    make
+}
+
+package() {
+    make -C build DESTDIR="${pkgdir}" install
+    install -Dm644 ${pkgname}-${pkgver}/readme.txt -t "${pkgdir}"/usr/share/licenses/${pkgname}/
+}


More information about the arch-commits mailing list