summaryrefslogtreecommitdiff
path: root/testing/libxml++
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-04-16 13:48:38 +0000
committerroot <root@rshg047.dnsready.net>2011-04-16 13:48:38 +0000
commitec549f64c923643d4b13dd7d364e080840ae3e29 (patch)
treecb680711dd6875847036bbd555f4c2539e433690 /testing/libxml++
parent5d3c3e85c503dae5753d1b7e92b7cdc3b3a2b34b (diff)
Sat Apr 16 13:48:38 UTC 2011
Diffstat (limited to 'testing/libxml++')
-rw-r--r--testing/libxml++/PKGBUILD39
1 files changed, 39 insertions, 0 deletions
diff --git a/testing/libxml++/PKGBUILD b/testing/libxml++/PKGBUILD
new file mode 100644
index 000000000..c4385a417
--- /dev/null
+++ b/testing/libxml++/PKGBUILD
@@ -0,0 +1,39 @@
+# $Id: PKGBUILD 119822 2011-04-15 13:14:14Z ibiru $
+# Maintainer: damir <damir@archlinux.org>
+
+pkgbase=libxml++
+pkgname=('libxml++' 'libxml++-docs')
+pkgver=2.34.0
+pkgrel=1
+arch=('i686' 'x86_64')
+license=('LGPL')
+url="http://libxmlplusplus.sourceforge.net/"
+makedepends=('pkgconfig' 'glibmm-docs' 'libxml2' 'glibmm' 'mm-common')
+options=('!libtool' '!emptydirs')
+source=(http://ftp.gnome.org/pub/GNOME/sources/${pkgbase}/2.34/${pkgbase}-${pkgver}.tar.bz2)
+sha256sums=('09bc0e20cdc729660ebb0429cdfc8202f3e48fd65f443a0a3cc1278a14ad7807')
+
+build() {
+ cd "${srcdir}/${pkgbase}-${pkgver}"
+ ./configure --prefix=/usr
+ make
+}
+
+package_libxml++() {
+ pkgdesc="C++ bindings to libxml2"
+ depends=('libxml2' 'glibmm')
+ replaces=('libxml++2')
+ provides=("libxml++2=${pkgver}")
+ conflicts=('libxml++2')
+
+ cd "${srcdir}/${pkgbase}-${pkgver}"
+ sed -i -e 's/install-data-am: install-data-local install-dist_referenceDATA/install-data-am: /' Makefile
+ make DESTDIR="${pkgdir}" install
+}
+
+package_libxml++-docs() {
+ pkgdesc="Developer documentation for libxml++"
+ depends=('glibmm-docs')
+ cd "${srcdir}/${pkgbase}-${pkgver}"
+ make DESTDIR="${pkgdir}" install-data-local install-dist_referenceDATA
+}