blob: 8f35183277f6cfda866cfc26f46086ce87686fae (
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 150508 2012-02-18 11:44:22Z pierre $
# Maintainer:
# Contributor: Jan de Groot <jgc@archlinux.org>
pkgname=gdome2
pkgver=0.8.1
pkgrel=4
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
}
|