blob: 89faf8146b42e1399b48cb82256aced36051d31f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
# $Id: PKGBUILD 137178 2011-09-06 09:14:31Z ibiru $
# Maintainer: damir <damir@archlinux.org>
pkgbase=libxml++
pkgname=('libxmlplusplus' 'libxmlplusplus-docs')
pkgver=2.34.2
pkgrel=1
arch=('i686' 'x86_64' 'mips64el')
license=('LGPL')
url="http://libxmlplusplus.sourceforge.net/"
makedepends=('pkgconfig' 'glibmm-docs' 'libxml2' 'glibmm')
options=('!libtool' '!emptydirs')
source=(http://ftp.gnome.org/pub/GNOME/sources/${pkgbase}/2.34/${pkgbase}-${pkgver}.tar.xz)
sha256sums=('77daba20ab76631071d4ed4cc18fa2e981160ca05ae661e8d146f2b0728f9baa')
build() {
cd "${srcdir}/${pkgbase}-${pkgver}"
./configure --prefix=/usr
make
}
package_libxmlplusplus() {
pkgdesc="C++ bindings to libxml2"
depends=('libxml2' 'glibmm')
replaces=('libxml++2')
provides=("libxml++2=${pkgver}"
"libxml++=${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_libxmlplusplus-docs() {
pkgdesc="Developer documentation for libxml++"
depends=('glibmm-docs')
provides=("libxmlplusplus-docs=${pkgver}")
cd "${srcdir}/${pkgbase}-${pkgver}"
make DESTDIR="${pkgdir}" install-data-local install-dist_referenceDATA
}
|