blob: 34618a3ed6db9a0965821c4e0d64785e40e4af8e (
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
|
# $Id: PKGBUILD 137758 2011-09-10 15:29:12Z pierre $
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: Jan de Groot <jgc@archlinux.org>
pkgname=gmetadom
pkgver=0.2.6
pkgrel=3
pkgdesc="C++ bindings for GDome2 DOM implementation"
arch=('i686' 'x86_64' 'mips64el')
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
export LDFLAGS=${LDFLAGS/,--as-needed}
./configure --prefix=/usr
make
}
package() {
cd ${srcdir}/${pkgname}-${pkgver}
make DESTDIR=${pkgdir}/ install
}
|