# Description: KDE Integrated Office Suite
# Maintainer: sten, nick dot steeves at shaw dot ca
# Packager: 
# URL: http://www.koffice.org/
# Depends on: kdebase, imagemagick, libwv2, python, aspell, libwpd, wordnet, tetex

name=koffice
version=1.5.0
release=1
source=(http://download.kde.org/stable/$name-$version/src/$name-$version.tar.bz2)

build(){
    cd $name-$version
    ./configure --prefix=/usr \
        --disable-debug
    make
    make DESTDIR=$PKG install
    find $PKG/usr/share/doc/HTML/* ! -wholename "*HTML/en*" -delete
}