[arch-commits] Commit in libxml++2.6/repos (staging-x86_64 staging-x86_64/PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Sat May 16 12:11:18 UTC 2020
Date: Saturday, May 16, 2020 @ 12:11:17
Author: felixonmars
Revision: 384451
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 384450, libxml++2.6/trunk/PKGBUILD)
----------+
PKGBUILD | 39 +++++++++++++++++++++++++++++++++++++++
1 file changed, 39 insertions(+)
Copied: libxml++2.6/repos/staging-x86_64/PKGBUILD (from rev 384450, libxml++2.6/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2020-05-16 12:11:17 UTC (rev 384451)
@@ -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=4
+arch=('x86_64')
+license=('LGPL')
+url="http://libxmlplusplus.sourceforge.net/"
+makedepends=('pkgconfig' 'glibmm-docs' 'libxml2' 'glibmm')
+options=('!emptydirs')
+source=(https://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