# Maintainer: Erich Eckner # Contributor: WorMzy Tykashi # Contributor: FadeMind # Contributor: Richard Jackson pkgname=abiword-gtk2 _pkgname=abiword pkgver=3.0.4 pkgrel=1 pkgdesc='Fully-featured word processor, GTk2, No plugins, Lite version' arch=('i686' 'pentium4' 'x86_64') license=('GPL') depends=('fribidi' 'wv' 'librsvg' 'enchant' 'desktop-file-utils' 'gtk2' 'libxslt') makedepends=('pkgconfig' 'boost' 'autoconf-archive') conflicts=('abiword' 'abiword-plugins') url='http://www.abisource.com' source=("$_pkgname-$pkgver.tar.gz::https://www.abisource.com/downloads/$_pkgname/$pkgver/source/$_pkgname-$pkgver.tar.gz" enchant-2.1.patch) sha512sums=('121708e010cef6722cab5622dc762f2f92c46e43b65b90b881b4f25ff32c1696fa2d281a3a6f2c04d5b9231bbbd0040281e9d4d7e594ec0ace6caae9c9021ec4' '323d4695b2b63ecb62ac16399853bdcacc96f67deb4e58408eab727e113ed593d2d3c5b90951c7653c2ddac6a14950162e314a461b592e2c95df0294459cbe96') prepare() { cd $_pkgname-$pkgver # Replace deprecated enchant functions patch -Np1 -i ../enchant-2.1.patch } build() { cd $_pkgname-$pkgver # libtoolize --force # aclocal # autoheader # automake --add-missing --force-missing # autoconf || autoconf # autoreconf -fi || autoreconf -i || autoreconf -i autoreconf -fi ./configure --prefix=/usr \ --enable-shared \ --disable-static \ --with-gtk2 \ --enable-clipart \ --enable-templates \ --without-redland \ --without-libical \ --disable-builtin-plugins \ --disable-default-plugins \ --disable-collab-backend-service \ --disable-collab-backend-tcp make -C goffice-bits2 make } package() { cd $_pkgname-$pkgver make DESTDIR="$pkgdir" install }