updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / abiword-svn / PKGBUILD
blob148dbb57b0d4f6d810269139c682bfcb1d9b99b6
1 # Contributor: catalyst <catalyst@xaker.ru>
3 pkgname=abiword-svn
4 pkgver=29400
5 pkgrel=1
6 pkgdesc="A fully-featured word processor (SVN Version)"
7 arch=('i686' 'x86_64')
8 license=('GPL')
9 url="http://www.abisource.com"
10 depends=('fribidi>=0.10.9' 'enchant>=1.3.0' 'libgnomeprintui' 
11          'wv>=1.2.4' 'libgnomeui>=2.22.01' 'libgsf-gnome>=1.14.14' 'redland>=1.0.10' 'rasqal>=0.9.17')
12 makedepends=('pkgconfig' 'cmake' 'subversion' )
13 optdepends=('goffice-devel')
14 options=('!makeflags' 'force')
15 provides=('abiword')
16 conflicts=('abiword')
17 source=()
18 md5sums=()
19 _svntrunk=http://svn.abisource.com/abiword/trunk/
20 _svnmod=abiword
22 build() {
23 svn co $_svntrunk $_svnmod
24   msg "SVN checkout done or server timeout"
25   msg "Starting make..."
26      cd ${srcdir}/$_svnmod
27   ./autogen.sh --prefix=/usr \
28               --with-libxml2 \
29               --disable-gucharmap \
30               --enable-dynamic || return 1
31 make || return 1
32 make DESTDIR="$pkgdir" install || return 1
33 rm -rf ${srcdir}/$_svnmod