blob: d710cfbeb4fbe385ed6ada7181752410697be7a9 (
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
38
39
40
41
42
43
44
|
# $Id: PKGBUILD 197759 2013-10-29 18:43:37Z eric $
# Maintainer:
# Contributor: Jan de Groot <jgc@archlinux.org>
pkgname=gdome2
pkgver=0.8.1
pkgrel=5
pkgdesc="Gnome DOM Engine"
arch=('i686' 'x86_64' 'mips64el')
url="http://gdome2.cs.unibo.it/"
license=('LGPL')
depends=('libxml2' 'glib2')
source=("http://gdome2.cs.unibo.it/tarball/${pkgname}-${pkgver}.tar.gz"
gdome2-0.8.1-libxml2.patch)
md5sums=('bfc114e59eec50cbda8e4ece751ff022'
'bde155107f30bf65d441adf70efc3c00')
prepare() {
cd ${pkgname}-${pkgver}
patch -p0 -i "${srcdir}/gdome2-0.8.1-libxml2.patch"
}
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 ${pkgname}-${pkgver}
make DESTDIR="${pkgdir}" install
}
|