#Maintainer: Dimitris Tzemos pkgname=abiword pkgver=3.0.2 pkgrel=2dj source=("http://www.abisource.com/downloads/abiword/$pkgver/source/abiword-$pkgver.tar.gz" "http://www.abisource.com/downloads/abiword/$pkgver/source/abiword-docs-$pkgver.tar.gz" "libical-deprecated.patch") docs=("readme" "install" "copying" "changelog" "authors" "news" "todo" "*.txt") url=http://www.abisource.com slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "abiword (word processing for everyone)" "AbiWord is a lean and fast full-featured word processor. It can import" "many formats including Word97/2000 and RTF, Palm, Psion, DocBook and" "XHTML documents, and can export to RTF, Palm, Psion, XHTML, Text," "and LaTeX formats. Linux Journal calls it \"an elegant, open source" "word processor that delivers the Word functionality most people use.\"" ) build() { cd $startdir/src/$pkgname-$pkgver # Replace deprecated libical functions patch -Np1 -i ../libical-deprecated.patch || return 1 ./configure --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --localstatedir=/var \ --sysconfdir=/etc \ --disable-static \ --with-gtk2 \ --enable-shared \ --enable-clipart \ --enable-templates \ --enable-plugins \ --build=$arch-slackware-linux make -C goffice-bits2 || return 1 make install DESTDIR=$startdir/pkg #mkdir -p $startdir/pkg/usr/share/icons/hicolor/48x48/apps #mv $startdir/pkg/usr/share/icons/abiword_48.png $startdir/pkg/usr/share/icons/hicolor/48x48/apps/abiword.png #sed -i "s/Icon=.*/Icon=abiword/" $startdir/pkg/usr/share/applications/abiword.desktop }