wok-4.x rev 8234
Up: get-LibreOffice (v1.1.9 for stable v3.3.0) - will need fix for next release as this contains fix for incorrect archive packaging.
author | Ben Arnold <ben@seawolfsanctuary.com> |
---|---|
date | Thu Jan 27 07:36:43 2011 +0000 (2011-01-27) |
parents | 9b8ff7c056c5 |
children | 84aca0f42f07 |
files | get-LibreOffice/receipt get-LibreOffice/stuff/get-LibreOffice |
line diff
1.1 --- a/get-LibreOffice/receipt Wed Jan 26 22:45:03 2011 +0000 1.2 +++ b/get-LibreOffice/receipt Thu Jan 27 07:36:43 2011 +0000 1.3 @@ -1,7 +1,7 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="get-LibreOffice" 1.7 -VERSION="1.1" 1.8 +VERSION="1.1.9" 1.9 CATEGORY="office" 1.10 SHORT_DESC="Productivity suite." 1.11 MAINTAINER="ben@seawolfsanctuary.com" 1.12 @@ -13,4 +13,4 @@ 1.13 { 1.14 mkdir -p $fs/usr/bin 1.15 install -o root -g root -m755 stuff/get-LibreOffice $fs/usr/bin 1.16 -} 1.17 \ No newline at end of file 1.18 +}
2.1 --- a/get-LibreOffice/stuff/get-LibreOffice Wed Jan 26 22:45:03 2011 +0000 2.2 +++ b/get-LibreOffice/stuff/get-LibreOffice Thu Jan 27 07:36:43 2011 +0000 2.3 @@ -9,7 +9,7 @@ 2.4 PACKAGE="LibreOffice" 2.5 URL="http://www.libreoffice.org" 2.6 ROOT="$1" 2.7 -DIR="testing" 2.8 +DIR="stable" 2.9 SUFFIX="Linux_x86_install-rpm_en-US.tar.gz" 2.10 2.11 VERSION="$(basename $(wget -O - http://download.documentfoundation.org/libreoffice/$DIR/ \ 2.12 @@ -118,7 +118,7 @@ 2.13 exit 1 2.14 fi 2.15 2.16 -echo -n "Extracting files " 2.17 +echo -n "Extracting files (this may take a while): " 2.18 2.19 # Creates TEMP_DIR and extract tarball 2.20 mkdir -p $TEMP_DIR 2.21 @@ -128,14 +128,16 @@ 2.22 done 2.23 # Consolidate localisations into main package 2.24 if [ -n $L_TARBALL ] ; then # Are we localised? 2.25 - mv -f $TEMP_DIR/${L_TARBALL/.tar.gz/}/RPMS/*.rpm $TEMP_DIR/${TARBALL/.tar.gz/}/RPMS/ 2.26 +# mv -f $TEMP_DIR/${L_TARBALL/.tar.gz/}/RPMS/*.rpm $TEMP_DIR/${TARBALL/.tar.gz/}/RPMS/ 2.27 + mv -f $TEMP_DIR/LibO_3.3.0rc4_Linux_x86_langpack-rpm_en-GB/RPMS/*.rpm $TEMP_DIR/LibO_3.3.0rc4_Linux_x86_install-rpm_en-US/RPMS/ 2.28 fi 2.29 status 2.30 2.31 # Extracted pkg can be removed: Save RAM 2.32 rm -rf $SOURCE_DIR 2.33 2.34 -cd $TEMP_DIR/${TARBALL/.tar.gz/}/RPMS 2.35 +# cd $TEMP_DIR/${TARBALL/.tar.gz/}/RPMS 2.36 +cd $TEMP_DIR/LibO_3.3.0rc4_Linux_x86_install-rpm_en-US/RPMS 2.37 2.38 # Extract everything from RPMS 2.39 for i in *.rpm