summaryrefslogtreecommitdiff
path: root/extra/gmetadom/PKGBUILD
blob: 64be3c3b7717c26c096399fb941ca9d6d6dbab5d (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
# $Id: PKGBUILD 37443 2009-05-01 20:50:35Z giovanni $
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: Jan de Groot <jgc@archlinux.org>

pkgname=gmetadom
pkgver=0.2.6
pkgrel=2
pkgdesc="C++ bindings for GDome2 DOM implementation"
arch=('i686' 'x86_64')
url="http://gmetadom.sourceforge.net/"
license=('LGPL')
depends=('gdome2')
makedepends=('pkgconfig' 'ocaml')
options=('!libtool' '!makeflags')
source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz 
        gmetadom-0.2.6-gcc43.patch)
md5sums=('7bfb5d9c6f20ffa5e790b63d1f8cb481'
         'ea0271007f8650733029327823353d0d')

build() {
  cd ${srcdir}/${pkgname}-${pkgver}
  patch -Np1 -i ${srcdir}/gmetadom-0.2.6-gcc43.patch || return 1
  ./configure --prefix=/usr
  make || return 1
  make DESTDIR=${pkgdir}/ install
}