Enviado em 12/04/2016 - 15:29h
Boa tarde pessoal, já a algum tempo venho utilizando o Funtoo como meu sistema principal, mas ainda mantenho aqui o Debian e o Slackware.
#!/bin/sh
cd
mkdir -p libreoffice
wget -c http://download.documentfoundation.org/libreoffice/stable/5.1.1/rpm/x86/LibreOffice_5.1.1_Linux_x86_...
wget -c http://download.documentfoundation.org/libreoffice/stable/5.1.1/rpm/x86/LibreOffice_5.1.1_Linux_x86_...
wget -c http://download.documentfoundation.org/libreoffice/stable/5.1.1/rpm/x86/LibreOffice_5.1.1_Linux_x86_...
tar xf LibreOffice_5.1.1_Linux_x86_rpm.tar.gz
cd LibreOffice_5.1.1.3_Linux_x86_rpm/RPMS/
rm -fv *onlineupdate*.rpm
for FILE in *.rpm ; do rpm2cpio < $FILE | cpio -imdv ; done
rm -fv *.rpm
rm -fv usr/share/applications/libreoffice*-startcenter.desktop
rm -rfv usr/bin
rm -fv opt/libreoffice5.1/share/fonts/truetype/{DejaVu,Liberation,OpenSans}*.ttf
mv opt usr ~/libreoffice/
cd
tar xf LibreOffice_5.1.1_Linux_x86_rpm_langpack_pt-BR.tar.gz
cd LibreOffice_5.1.1.3_Linux_x86_rpm_langpack_pt-BR/RPMS/
for FILE in *.rpm ; do rpm2cpio < $FILE | cpio -imdv ; done
cp -a opt/libreoffice5.1/* ~/libreoffice/opt/libreoffice5.1/
cd
tar xf LibreOffice_5.1.1_Linux_x86_rpm_helppack_pt-BR.tar.gz
cd LibreOffice_5.1.1.3_Linux_x86_rpm_helppack_pt-BR/RPMS/
for FILE in *.rpm ; do rpm2cpio < $FILE | cpio -imdv ; done
cp -a opt/libreoffice5.1/* ~/libreoffice/opt/libreoffice5.1/
cd
chmod +x ~/libreoffice/opt/libreoffice5.1/share/xdg/*.desktop
sudo cp -av ~/libreoffice/opt/* /opt/
sudo cp -av ~/libreoffice/usr/share/* /usr/share/
cd /usr/bin
sudo rm -fv {sbase,scalc,sdraw,simpress,smath,soffice,swriter,libreoffice5.1,unopkg,libreoffice*}
sudo ln -sfv /opt/libreoffice5.1/program/sbase sbase
sudo ln -sfv /opt/libreoffice5.1/program/scalc scalc
sudo ln -sfv /opt/libreoffice5.1/program/sdraw sdraw
sudo ln -sfv /opt/libreoffice5.1/program/simpress simpress
sudo ln -sfv /opt/libreoffice5.1/program/smath smath
sudo ln -sfv /opt/libreoffice5.1/program/soffice soffice
sudo ln -sfv /opt/libreoffice5.1/program/swriter swriter
sudo ln -sfv /opt/libreoffice5.1/program/unopkg unopkg
sudo ln -sfv /opt/libreoffice5.1/program/soffice libreoffice5.1
cd /usr/share/applications
sudo rm -fv {base.desktop,calc.desktop,draw.desktop,impress.desktop,math.desktop,writer.desktop,startcenter.desktop,libreoffice*}
sudo chmod +x /opt/libreoffice5.1/share/xdg/*.desktop
sudo cp -av /opt/libreoffice5.1/share/xdg/base.desktop libreoffice5.1-base.desktop
sudo cp -av /opt/libreoffice5.1/share/xdg/calc.desktop libreoffice5.1-calc.desktop
sudo cp -av /opt/libreoffice5.1/share/xdg/draw.desktop libreoffice5.1-draw.desktop
sudo cp -av /opt/libreoffice5.1/share/xdg/impress.desktop libreoffice5.1-impress.desktop
sudo cp -av /opt/libreoffice5.1/share/xdg/math.desktop libreoffice5.1-math.desktop
sudo cp -av /opt/libreoffice5.1/share/xdg/writer.desktop libreoffice5.1-writer.desktop
sudo cp -av /opt/libreoffice5.1/share/xdg/startcenter.desktop libreoffice5.1-startcenter.desktop
sudo cp -av /opt/libreoffice5.1/share/xdg/xsltfilter.desktop libreoffice5.1-xsltfilter.desktop
sudo update-desktop-database -q /usr/share/applications;
sudo update-mime-database /usr/share/mime >/dev/null 2>&1;
sudo gtk-update-icon-cache /usr/share/icons/$theme >/dev/null 2>&1;
exit 0
$ sudo tar -xvf chromium-funtoo-49.0.2623.112 -C /
$ install \
dev-python/html5lib \
app-arch/snappy \
dev-python/beautifulsoup \
dev-libs/jsoncpp \
dev-python/simplejson \
dev-perl/JSON \
dev-python/markupsafe \
dev-python/lxml \
app-accessibility/espeak \
dev-libs/dotconf \
dev-python/pyxdg \
app-accessibility/speech-dispatcher \
dev-python/beautifulsoup \
dev-python/jinja \
media-libs/speex