blob: c6e1eb377cf797cf844bb0195d620a845d8458ce (
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
|
# $Id: PKGBUILD 127384 2011-06-14 06:53:04Z andrea $
# Maintainer:
# Contributor: Jan de Groot <jgc@archlinux.org>
pkgname=gdome2
pkgver=0.8.1
pkgrel=3.1
pkgdesc="Gnome DOM Engine"
url="http://gdome2.cs.unibo.it/"
arch=('i686' 'x86_64' 'mips64el')
license=('LGPL')
depends=('libxml2' 'glib2')
options=(!libtool)
source=("http://gdome2.cs.unibo.it/tarball/${pkgname}-${pkgver}.tar.gz")
md5sums=('bfc114e59eec50cbda8e4ece751ff022')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
if [ "$CARCH" = mips64el ]; then
CFLAGS="$CFLAGS -fpic"
CXXFLAGS="$CXXFLAGS -fpic"
fi
./configure --prefix=/usr --mandir=/usr/share/man \
--host=${CARCH} --disable-static
make
}
check() {
cd "${srcdir}/${pkgname}-${pkgver}"
make check
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
}
|