[arch-commits] Commit in libxml++2.6/repos (staging-x86_64 staging-x86_64/PKGBUILD)

Felix Yan felixonmars at archlinux.org
Fri Nov 9 22:34:04 UTC 2018


    Date: Friday, November 9, 2018 @ 22:34:03
  Author: felixonmars
Revision: 338689

archrelease: copy trunk to staging-x86_64

Added:
  libxml++2.6/repos/staging-x86_64/
  libxml++2.6/repos/staging-x86_64/PKGBUILD
    (from rev 338688, libxml++2.6/trunk/PKGBUILD)

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

Copied: libxml++2.6/repos/staging-x86_64/PKGBUILD (from rev 338688, libxml++2.6/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2018-11-09 22:34:03 UTC (rev 338689)
@@ -0,0 +1,39 @@
+# Maintainer: damir <damir at archlinux.org>
+
+pkgbase=libxml++2.6
+pkgname=('libxml++2.6' 'libxml++2.6-docs')
+pkgver=2.40.1
+pkgrel=3
+arch=('x86_64')
+license=('LGPL')
+url="http://libxmlplusplus.sourceforge.net/"
+makedepends=('pkgconfig' 'glibmm-docs' 'libxml2' 'glibmm')
+options=('!emptydirs')
+source=(http://ftp.gnome.org/pub/GNOME/sources/libxml++/${pkgver:0:4}/libxml++-${pkgver}.tar.xz)
+sha256sums=('4ad4abdd3258874f61c2e2a41d08e9930677976d303653cd1670d3e9f35463e9')
+
+build() {
+  cd "${srcdir}/libxml++-${pkgver}"
+  ./configure --prefix=/usr
+
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+  make
+}
+
+package_libxml++2.6() {
+  pkgdesc="C++ bindings to libxml2"
+  depends=('libxml2' 'glibmm')
+  replaces=('libxml++2')
+  provides=("libxml++2=${pkgver}")
+  conflicts=('libxml++2')
+
+  cd "${srcdir}/libxml++-${pkgver}"
+  make DESTDIR="${pkgdir}" install doc_subdirs=
+}
+
+package_libxml++2.6-docs() {
+  pkgdesc="Developer documentation for libxml++"
+  depends=('glibmm-docs')
+  cd "${srcdir}/libxml++-${pkgver}"
+  make DESTDIR="${pkgdir}" -C docs install
+}



More information about the arch-commits mailing list