1 # Maintainer: Giovanni Scafora <giovanni@archlinux.org>
2 # Contributor: Jan de Groot <jgc@archlinux.org>
7 pkgdesc="C++ bindings for GDome2 DOM implementation"
9 url="http://gmetadom.sourceforge.net/"
12 makedepends=('pkgconfig' 'ocaml-findlib' 'libxslt')
13 options=('!makeflags')
14 source=("https://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz"
15 'gmetadom-0.2.6-gcc43.patch')
16 sha256sums=('2f1e286dfceb7877f90c72de7e5e17a87d0e3f8121feff794a6f637bc1a6756a'
17 '71d06b41cafcbca318d48d39c97e9f25873461828c7702541f721fd478dbbacf')
21 patch -Np1 -i ${srcdir}/gmetadom-0.2.6-gcc43.patch
25 cd ${srcdir}/${pkgname}-${pkgver}
26 export LDFLAGS=${LDFLAGS/,--as-needed}
27 ./configure --prefix=/usr
32 cd ${srcdir}/${pkgname}-${pkgver}
33 make DESTDIR=${pkgdir}/ install