opt/openoffice/Pkgfile

29 lines
785 B
Plaintext
Raw Normal View History

2006-02-23 16:26:10 +01:00
# Description: A full featured cross platform office suite (binary)
# URL: http://www.openoffice.org
2006-04-13 23:43:04 +02:00
# Maintainer: Simone Rota, sip at crux dot nu
# Packager: Simone Rota, sip at crux dot nu
2006-02-23 16:26:10 +01:00
# Depends on: x11, rpm2targz
name=openoffice
version=2.0.3
2006-02-23 16:26:10 +01:00
release=1
source=(http://ftp-atl.osuosl.org/pub/openoffice/stable/$version/OOo_${version}_LinuxIntel_install.tar.gz)
2006-02-23 16:26:10 +01:00
build() {
cd OO*/RPMS
for f in *.rpm; do rpm2targz $f; done
for f in *.tar.gz; do tar xvfz $f -C $PKG; done
rm -rf $PKG/usr/*
mkdir -p $PKG/usr/lib/openoffice
mv $PKG/opt/openoffice*/* $PKG/usr/lib/openoffice
mkdir -p $PKG/usr/bin
ln -sf /usr/lib/openoffice/program/soffice $PKG/usr/bin/soffice
ln -sf /usr/lib/openoffice/program/spadmin $PKG/usr/bin/spadmin
rm -r $PKG/opt
chown root.root $PKG -R
}