summaryrefslogtreecommitdiff
path: root/extra/gdome2/PKGBUILD
blob: 9522ae97d94ced1a9a7be82c24192eec0a8a9ab7 (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
# $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')
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 ${pkgname}-${pkgver}
  ./configure --prefix=/usr --mandir=/usr/share/man
  make
}

package() {
  cd ${pkgname}-${pkgver}
  make DESTDIR="${pkgdir}" install
}