updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / gnome-doc-utils-svn / PKGBUILD
blob38c2fc8f24a81bd59a146ae5a7f2203d906a6b9a
1 # $Id: PKGBUILD 2009-01-01 20:18:26
2 # Contributor: Carbon <carbonjiao@gmail.com>
4 pkgname=gnome-doc-utils-svn
5 pkgver=1136
6 pkgrel=1
7 pkgdesc="Documentation utilities for Gnome."
8 arch=('i686' 'x86_64')
9 url="http://svn.gnome.org/viewvc/gnome-doc-utils/"
10 license=('GPL2')
11 provides=('gnome-doc-utils')
12 conflicts=('gnome-doc-utils')
13 depends=('libxslt>=1.1.24' 'python>=2.6' 'docbook-xml' 'docbook-xsl' 'gnome-common-svn' 'rarian>=0.8.1')
14 makedepends=('autoconf' 'automake' 'libtool' 'gettext' 'intltool' 'gtk-doc' 'pkgconfig' 'm4' 'perlxml' 'subversion')
16 source=()
17 md5sums=()
19 _svntrunk=http://svn.gnome.org/svn/gnome-doc-utils/trunk
20 _svnmod=gnome-doc-utils
22 build() {
23         cd ${startdir}/src
24         # Source
25         msg "SVN checkout..."
26         svn co $_svntrunk --config-dir ./ $_svnmod/
27         msg "SVN checkout done or the server timed out"
28         msg "Starting make..."
29         mkdir $_svnmod/build
30         cd $_svnmod/build
31         chmod +x ../autogen.sh
32         ../autogen.sh --prefix=/usr --prefix=/usr --sysconfdir=/etc --mandir=/usr/share/man \
33               --localstatedir=/var --disable-scrollkeeper
34         make || return 1
35         make DESTDIR="${pkgdir}" install
36         rm -rf build