1 # Maintainer: György Balló <ballogy@freestart.hu>
2 # Contributor: Giovanni Scafora <giovanni@archlinux.org>
3 # Contributor: Maël Lavault <moimael@neuf.fr>
6 pkgname=$_pkgname-devel
9 pkgdesc="A fully-featured word processor"
10 arch=('i686' 'x86_64')
12 url="http://www.abisource.com"
13 depends=('fribidi' 'wv' 'goffice-devel' 'librsvg' 'redland' 'evolution-data-server' 'desktop-file-utils')
14 makedepends=('boost' 'libwpg' 'libwps' 'telepathy-glib' 'loudmouth' 'asio' 'psiconv' 'gtkmathview' 'libwmf' 'link-grammar' 'aiksaurus' 'libots')
15 optdepends=('libwpg: wordperfect, wpg plugin'
16 'libwps: wordperfect plugin'
17 'telepathy-glib: collab plugin'
18 'loudmouth: collab plugin'
20 'psiconv: psiconv plugin'
21 'gtkmathview: mathview plugin'
23 'link-grammar: grammar plugin'
24 'aiksaurus: aiksaurus plugin'
26 provides=("$_pkgname=$pkgver" "abiword-plugins=$pkgver")
27 conflicts=("$_pkgname" "abiword-plugins")
28 install=$_pkgname.install
30 source=("http://www.abisource.com/downloads/$_pkgname/$pkgver/source/$_pkgname-$pkgver.tar.gz"
32 sha1sums=('34a6e4e9c5619e8f2d619ac844519fc9378405b3'
33 '9bff2f533678706142f1815482b98ca5cb2b06b3')
36 cd "$srcdir/$_pkgname-$pkgver"
37 sed -i 's/libgoffice-0.10 >= 0.10.0/libgoffice-0.10 >= 0.9.1/
38 s/goffice_req >= 0.10.0/goffice_req >= 0.9.1/' configure
39 ln -s "$srcdir/TelepathyBuddy.h" plugins/collab/backends/telepathy/unix/TelepathyBuddy.h
41 ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
42 --disable-maintainer-mode --disable-static \
43 --enable-plugins --enable-clipart --enable-templates
48 cd "$srcdir/$_pkgname-$pkgver"
50 make DESTDIR="$pkgdir" install