From 2712e7e992990b3cbea2099a6842cff344a56230 Mon Sep 17 00:00:00 2001 From: Bor Kraljič Date: Sun, 15 Aug 2010 08:53:50 +0200 Subject: openofffice3-bin-lang: => 3.2.1, updated to use rpm2tar, fixed source --- bin-editors/openoffice3-bin-lang/CONFIGURE | 6 +++--- bin-editors/openoffice3-bin-lang/DETAILS | 2 +- bin-editors/openoffice3-bin-lang/HISTORY | 5 +++++ bin-editors/openoffice3-bin-lang/PRE_BUILD | 5 ++--- 4 files changed, 11 insertions(+), 7 deletions(-) diff --git a/bin-editors/openoffice3-bin-lang/CONFIGURE b/bin-editors/openoffice3-bin-lang/CONFIGURE index 26fcb49..b656b6b 100755 --- a/bin-editors/openoffice3-bin-lang/CONFIGURE +++ b/bin-editors/openoffice3-bin-lang/CONFIGURE @@ -10,16 +10,16 @@ get_ooo3languages() { list_remove OOO3_LANG vi || true && config_query_multi OOO3_LANG "please specify the desired languages" \ -fr nl && +fr nl sl && # should perhaps use SOURCE_IGNORE=unversioned instead of MD5[0]="IGNORE" local i=1 && for LANGUAGE in $OOO3_LANG; do if [[ $i == 1 ]]; then - echo SOURCE=OOo_\${VERSION}_LinuxIntel_langpack_$LANGUAGE.tar.gz >> $CFG && + echo SOURCE=OOo_\${VERSION}_Linux_x86_langpack-rpm_$LANGUAGE.tar.gz >> $CFG && echo SOURCE_URL[0]=\$SITE/$LANGUAGE/\${VERSION}/\$SOURCE >> $CFG else - echo SOURCE$i=OOo_\${VERSION}_LinuxIntel_langpack_$LANGUAGE.tar.gz >> $CFG && + echo SOURCE$i=OOo_\${VERSION}_Linux_x86_langpack-rpm_$LANGUAGE.tar.gz >> $CFG && echo SOURCE${i}_URL[0]=\$SITE/$LANGUAGE/\${VERSION}/\$SOURCE$i >> $CFG fi && echo MD5[$[$i-1]]="IGNORE" >> $CFG && diff --git a/bin-editors/openoffice3-bin-lang/DETAILS b/bin-editors/openoffice3-bin-lang/DETAILS index 173e897..8f02108 100755 --- a/bin-editors/openoffice3-bin-lang/DETAILS +++ b/bin-editors/openoffice3-bin-lang/DETAILS @@ -1,6 +1,6 @@ # the remaining details of this spell are provided by CONFIGURE SPELL=openoffice3-bin-lang - VERSION=3.0.1 + VERSION=3.2.1 OO_ARCH=i586 SITE=http://mirrors.isc.org/pub/openoffice/localized SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL diff --git a/bin-editors/openoffice3-bin-lang/HISTORY b/bin-editors/openoffice3-bin-lang/HISTORY index f7ace87..6e8c8f5 100644 --- a/bin-editors/openoffice3-bin-lang/HISTORY +++ b/bin-editors/openoffice3-bin-lang/HISTORY @@ -1,3 +1,8 @@ +2010-08-15 Bor Kraljič + * DETAILS: updated spell to 3.2.1 + * PRE_BUILD: changed to use rpm2tar just like openoffice3-bin + * CONFIGURE: fixed source and added sl language + 2009-02-05 Eric Sandall * DETAILS: Updated to 3.0.1 * CONFIGURE: vi language has not been updated to 3.0.1 diff --git a/bin-editors/openoffice3-bin-lang/PRE_BUILD b/bin-editors/openoffice3-bin-lang/PRE_BUILD index 34bcf8b..7c259bc 100755 --- a/bin-editors/openoffice3-bin-lang/PRE_BUILD +++ b/bin-editors/openoffice3-bin-lang/PRE_BUILD @@ -17,9 +17,8 @@ for SS in $OOO3_LANG; do for FILE in *.${OO_ARCH}.rpm do FILE="${FILE%.$OO_ARCH.rpm}" && - rpmunpack $FILE.${OO_ARCH}.rpm && - gzip -d $FILE.cpio.gz && - cpio -idm < $FILE.cpio 2> ${INSTALL_ROOT}/dev/null + rpm2tar $FILE.${OO_ARCH}.rpm && + tar xvf $FILE.${OO_ARCH}.tar done && cd $SOURCE_DIRECTORY && i=$[$i+1] -- cgit v1.2.3