[arch-commits] Commit in libxml++2.6/repos (4 files)

Jan de Groot jgc at archlinux.org
Wed Feb 8 12:11:49 UTC 2017


    Date: Wednesday, February 8, 2017 @ 12:11:48
  Author: jgc
Revision: 288244

archrelease: copy trunk to staging-i686, staging-x86_64

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

-------------------------+
 staging-i686/PKGBUILD   |   41 +++++++++++++++++++++++++++++++++++++++++
 staging-x86_64/PKGBUILD |   41 +++++++++++++++++++++++++++++++++++++++++
 2 files changed, 82 insertions(+)

Copied: libxml++2.6/repos/staging-i686/PKGBUILD (from rev 288243, libxml++2.6/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD	                        (rev 0)
+++ staging-i686/PKGBUILD	2017-02-08 12:11:48 UTC (rev 288244)
@@ -0,0 +1,41 @@
+# $Id: PKGBUILD 257156 2015-12-22 15:32:55Z jgc $
+# Maintainer: damir <damir at archlinux.org>
+
+pkgbase=libxml++2.6
+pkgname=('libxml++2.6' 'libxml++2.6-docs')
+pkgver=2.40.1
+pkgrel=1
+arch=('i686' 'x86_64')
+license=('LGPL')
+url="http://libxmlplusplus.sourceforge.net/"
+makedepends=('pkgconfig' 'glibmm-docs' 'libxml2' 'glibmm')
+conflicts=('libxml++<3.0')
+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
+}

Copied: libxml++2.6/repos/staging-x86_64/PKGBUILD (from rev 288243, libxml++2.6/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2017-02-08 12:11:48 UTC (rev 288244)
@@ -0,0 +1,41 @@
+# $Id: PKGBUILD 257156 2015-12-22 15:32:55Z jgc $
+# Maintainer: damir <damir at archlinux.org>
+
+pkgbase=libxml++2.6
+pkgname=('libxml++2.6' 'libxml++2.6-docs')
+pkgver=2.40.1
+pkgrel=1
+arch=('i686' 'x86_64')
+license=('LGPL')
+url="http://libxmlplusplus.sourceforge.net/"
+makedepends=('pkgconfig' 'glibmm-docs' 'libxml2' 'glibmm')
+conflicts=('libxml++<3.0')
+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