archrelease: copy trunk to testing-x86_64
[arch-packages.git] / gmetadom / trunk / PKGBUILD
blob9fc34c699feabcc511e8c046b709992490a6bb99
1 # Maintainer: Giovanni Scafora <giovanni@archlinux.org>
2 # Contributor: Jan de Groot <jgc@archlinux.org>
4 pkgname=gmetadom
5 pkgver=0.2.6
6 pkgrel=10
7 pkgdesc="C++ bindings for GDome2 DOM implementation"
8 arch=('x86_64')
9 url="http://gmetadom.sourceforge.net/"
10 license=('LGPL')
11 depends=('gdome2')
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')
19 prepare() {
20   cd $pkgname-$pkgver
21   patch -Np1 -i ${srcdir}/gmetadom-0.2.6-gcc43.patch
24 build() {
25   cd ${srcdir}/${pkgname}-${pkgver}
26   export LDFLAGS=${LDFLAGS/,--as-needed}
27   ./configure --prefix=/usr
28   make
31 package() {
32   cd ${srcdir}/${pkgname}-${pkgver}
33   make DESTDIR=${pkgdir}/ install