From 09e030e18f90a103a639c3c9ec83fabf04425224 Mon Sep 17 00:00:00 2001 From: Kevin Mihelich Date: Thu, 21 Aug 2014 13:01:40 +0000 Subject: [PATCH] extra/libreoffice-still: update extra files --- .../libreoffice-common.install | 47 ------------------- ...install => libreoffice-still-base.install} | 0 ...install => libreoffice-still-calc.install} | 0 ...ommon.csh => libreoffice-still-common.csh} | 0 .../libreoffice-still-common.install | 22 +++++++++ ...-common.sh => libreoffice-still-common.sh} | 0 ...install => libreoffice-still-draw.install} | 0 ...tall => libreoffice-still-impress.install} | 0 ...stall => libreoffice-still-writer.install} | 0 9 files changed, 22 insertions(+), 47 deletions(-) delete mode 100644 extra/libreoffice-still/libreoffice-common.install rename extra/libreoffice-still/{libreoffice-base.install => libreoffice-still-base.install} (100%) rename extra/libreoffice-still/{libreoffice-calc.install => libreoffice-still-calc.install} (100%) rename extra/libreoffice-still/{libreoffice-common.csh => libreoffice-still-common.csh} (100%) create mode 100644 extra/libreoffice-still/libreoffice-still-common.install rename extra/libreoffice-still/{libreoffice-common.sh => libreoffice-still-common.sh} (100%) rename extra/libreoffice-still/{libreoffice-draw.install => libreoffice-still-draw.install} (100%) rename extra/libreoffice-still/{libreoffice-impress.install => libreoffice-still-impress.install} (100%) rename extra/libreoffice-still/{libreoffice-writer.install => libreoffice-still-writer.install} (100%) diff --git a/extra/libreoffice-still/libreoffice-common.install b/extra/libreoffice-still/libreoffice-common.install deleted file mode 100644 index e66b66f3d..000000000 --- a/extra/libreoffice-still/libreoffice-common.install +++ /dev/null @@ -1,47 +0,0 @@ -post_install() { - -xdg-icon-resource forceupdate --theme hicolor -update-desktop-database -q -update-mime-database usr/share/mime > /dev/null 2>&1 - -echo " * see https://wiki.archlinux.org/index.php/LibreOffice" -echo "-------------------------------------------------------------------" -echo "LibreOffice has been split into several packages:" -echo "- libreoffice-common" -echo "- libreoffice-{base,calc,draw,impress,math,writer} - frontend applications" -echo "- libreoffice-{gnome,kde4} - desktop integration plugins" -echo "- libreoffice-{sdk,sdk-doc} - add-on and doc for programming using" -echo " the LibreOffice APIs and for creating" -echo " extensions (UNO components)." -echo "-------------------------------------------------------------------" -echo " * you need to install at least one libreoffice-langpack" -echo " * you may want to pacman -Ss libreoffice-extensions" -echo " to see what additional extensions are prepared to install" -echo " * it's recommended to install {hunspell,mythes,hyphen}-xx pkg - for spell checking" -echo " * make sure you have installed some ttf font (ttf-dejavu recommended)" -} - -post_upgrade() { -# post_install $1 -xdg-icon-resource forceupdate --theme hicolor -update-desktop-database -q -update-mime-database usr/share/mime > /dev/null 2>&1 - if [ "`vercmp $2 3.4.2rc1`" -lt 0 ]; then - # important upgrade notice - echo "LibreOffice has been split into several packages:" - echo "- libreoffice-common" - echo "- libreoffice-{base,calc,draw,impress,math,writer} - frontend applications" - echo "- libreoffice-{gnome,kde4} - desktop integration plugins" - echo "- libreoffice-{sdk,sdk-doc} - add-on and doc for programming using" - echo " the LibreOffice APIs and for creating" - echo " extensions (UNO components)." - echo "Now you need to install at least one libreoffice-langpack!" - fi -} - -post_remove() { -update-desktop-database -q -xdg-icon-resource forceupdate --theme hicolor -update-mime-database usr/share/mime > /dev/null 2>&1 -} diff --git a/extra/libreoffice-still/libreoffice-base.install b/extra/libreoffice-still/libreoffice-still-base.install similarity index 100% rename from extra/libreoffice-still/libreoffice-base.install rename to extra/libreoffice-still/libreoffice-still-base.install diff --git a/extra/libreoffice-still/libreoffice-calc.install b/extra/libreoffice-still/libreoffice-still-calc.install similarity index 100% rename from extra/libreoffice-still/libreoffice-calc.install rename to extra/libreoffice-still/libreoffice-still-calc.install diff --git a/extra/libreoffice-still/libreoffice-common.csh b/extra/libreoffice-still/libreoffice-still-common.csh similarity index 100% rename from extra/libreoffice-still/libreoffice-common.csh rename to extra/libreoffice-still/libreoffice-still-common.csh diff --git a/extra/libreoffice-still/libreoffice-still-common.install b/extra/libreoffice-still/libreoffice-still-common.install new file mode 100644 index 000000000..3eae8237d --- /dev/null +++ b/extra/libreoffice-still/libreoffice-still-common.install @@ -0,0 +1,22 @@ +post_install() { + xdg-icon-resource forceupdate --theme hicolor + update-desktop-database -q + update-mime-database usr/share/mime > /dev/null 2>&1 + echo "Arch is now shipping LibreOffice in two branches:" + echo "* libreoffice-still: the maintenance branch you are using right now" + echo "* libreoffice-fresh: the new fresh release branch offering latest feature additions" + echo "If you want switch to the \"fresh\" branch run" + echo " pacman -S libreoffice-fresh" +} + +post_upgrade() { + xdg-icon-resource forceupdate --theme hicolor + update-desktop-database -q + update-mime-database usr/share/mime > /dev/null 2>&1 +} + +post_remove() { + xdg-icon-resource forceupdate --theme hicolor + update-desktop-database -q + update-mime-database usr/share/mime > /dev/null 2>&1 +} diff --git a/extra/libreoffice-still/libreoffice-common.sh b/extra/libreoffice-still/libreoffice-still-common.sh similarity index 100% rename from extra/libreoffice-still/libreoffice-common.sh rename to extra/libreoffice-still/libreoffice-still-common.sh diff --git a/extra/libreoffice-still/libreoffice-draw.install b/extra/libreoffice-still/libreoffice-still-draw.install similarity index 100% rename from extra/libreoffice-still/libreoffice-draw.install rename to extra/libreoffice-still/libreoffice-still-draw.install diff --git a/extra/libreoffice-still/libreoffice-impress.install b/extra/libreoffice-still/libreoffice-still-impress.install similarity index 100% rename from extra/libreoffice-still/libreoffice-impress.install rename to extra/libreoffice-still/libreoffice-still-impress.install diff --git a/extra/libreoffice-still/libreoffice-writer.install b/extra/libreoffice-still/libreoffice-still-writer.install similarity index 100% rename from extra/libreoffice-still/libreoffice-writer.install rename to extra/libreoffice-still/libreoffice-still-writer.install