# openoffice, http://www.openoffice.org name=openoffice version=1.0.1 release=1 source=(http://ftp.sunet.se/pub/Office/OpenOffice.org/stable/${version}/OOo\_${version}\_LinuxIntel\_install.tar.gz) build() { cd install mv install install.tmp cat install.tmp | sed s/OpenOffice.org1.0/openoffice/ >install chmod +x install ./install --prefix=$PKG/opt ln -sf program/setup $PKG/opt/openoffice/setup ln -sf program/soffice $PKG/opt/openoffice/spadmin }