diff options
author | rudson <rudson@370017ae-e619-0410-ac65-c121f96126d4> | 2007-12-18 17:44:55 +0000 |
---|---|---|
committer | rudson <rudson@370017ae-e619-0410-ac65-c121f96126d4> | 2007-12-18 17:44:55 +0000 |
commit | 89018b9c4c143865f7a8e78a18c76f243312a6cc (patch) | |
tree | 539b89566d9e857578e316a48beb79c772308049 /app/office/broffice/broffice.SlackBuild | |
parent | 77b2e90a05395ada777b035030ad9d5b88b41c7d (diff) | |
download | slackbuilds-89018b9c4c143865f7a8e78a18c76f243312a6cc.tar.gz slackbuilds-89018b9c4c143865f7a8e78a18c76f243312a6cc.tar.bz2 |
git-svn-id: svn+slack://slack.fluxo.info/var/svn/slackbuilds@1537 370017ae-e619-0410-ac65-c121f96126d4
Diffstat (limited to 'app/office/broffice/broffice.SlackBuild')
-rwxr-xr-x | app/office/broffice/broffice.SlackBuild | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/app/office/broffice/broffice.SlackBuild b/app/office/broffice/broffice.SlackBuild index 65fb5db6..1b09b5fe 100755 --- a/app/office/broffice/broffice.SlackBuild +++ b/app/office/broffice/broffice.SlackBuild @@ -16,7 +16,7 @@ # # slackbuild for broffice, by Rudson R. Alves # requires: -# tested: broffice-2.3.0 +# tested: broffice-2.3.1 # # Look for slackbuildrc @@ -31,7 +31,7 @@ CWD="$(pwd)" SRC_NAME="BrOo" PKG_NAME="broffice" ARCH=${ARCH:=i486} -SRC_VERSION=${VERSION:=2.3.0} +SRC_VERSION=${VERSION:=2.3.1} PKG_VERSION="$(echo "$SRC_VERSION" | tr '[[:blank:]-]' '_')" BUILD=${BUILD:=1rra} SRC_DIR=${SRC_DIR:=$CWD}/$PKG_NAME @@ -60,21 +60,23 @@ mkdir -p "$REPOS" || exit $ERROR_MKDIR mkdir -p "$PKG_WORK" || exit $ERROR_MKDIR # Dowload source if necessary -SRC="${SRC_NAME}_${VERSION}_LinuxIntel_install_pt-BR_rpm.tar.gz" -URL="http://linorg.usp.br/BrOffice.org/stable/2.3.0//$SRC" +SRC="${SRC_NAME}_${VERSION}rc1_20071113_LinuxIntel_install_pt-BR.tar.gz" +URL="ftp://ftp.unicamp.br/pub/broffice/stable/2.3.1//$SRC" if [ ! -s "$SRC_DIR/$SRC" ] || ! gunzip -t "$SRC_DIR/$SRC" 2> /dev/null; then wget "$URL" -O "$SRC_DIR/$SRC" || exit $ERROR_WGET fi # Untar -mkdir -p $PKG_SRC -cd $PKG_SRC +cd $PKG_WORK tar --no-same-owner --no-same-permissions -xvf "$SRC_DIR/$SRC" || exit $ERROR_TAR -mv $PKG_SRC/OOG680_m5_native_packed-1_pt-BR.9221/* $PKG_SRC/ -rm -rf $PKG_SRC/OOG680_m5_native_packed-1_pt-BR.9221 -cd $PKG_SRC/RPMS +BR_OFFICE=`ls` +mv $PKG_WORK/$BR_OFFICE/* $PKG_WORK/ +rm -rf $PKG_WORK/$BR_OFFICE +cd $PKG_WORK/RPMS + +ARCH=i686 # Convert packges and install for i in *.rpm; do @@ -92,7 +94,7 @@ rm *.rpm *.deb 2>/dev/null cd .. # Change opt directory -#mkdir $PKG/usr +mkdir -p $PKG/usr/share mv $PKG/opt/broffice.org2.3 $PKG/usr/share/ mv $PKG/opt/kde/share/* $PKG/usr/share/ |