diff options
author | Niels Horn <niels.horn@gmail.com> | 2011-03-03 09:27:39 -0600 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2011-03-04 10:12:46 -0600 |
commit | 8e373c211dde0e37f18d8782121799be1add0285 (patch) | |
tree | 5864fc7374a28fb3c81227e0e3471735f5ca3bc7 /office/libreoffice/libreoffice.SlackBuild | |
parent | 15c787c43751383ae7efd929a27f71fb0e8b30db (diff) | |
download | slackbuilds-8e373c211dde0e37f18d8782121799be1add0285.tar.gz |
office/libreoffice: Updated for version 3.3.1.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'office/libreoffice/libreoffice.SlackBuild')
-rw-r--r-- | office/libreoffice/libreoffice.SlackBuild | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/office/libreoffice/libreoffice.SlackBuild b/office/libreoffice/libreoffice.SlackBuild index 83c456cde2..cc32782ede 100644 --- a/office/libreoffice/libreoffice.SlackBuild +++ b/office/libreoffice/libreoffice.SlackBuild @@ -24,15 +24,17 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # Modified by Niels Horn <niels.horn@gmail.com> -# Revision date: 2011/01/03 +# Revision date: 2011/03/01 PRGNAM=libreoffice -VERSION="3.3.0" +VERSION="3.3.1" BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -# I'll leave this line here, since I have to change it with every release... +# These variables seem to change with (almost) every release... SRCVERSION=$VERSION +SRCSHORT="3.3" +SRCBUILD="3.3-8" if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -109,7 +111,7 @@ cd $TMP/$SOURCEDIR/RPMS/ # Yes, I know there is a Slackware integration file in the desktop-integration # directory, but it's worthless to us. I'd prefer to do things correctly. -mv desktop-integration/libreoffice3.3-freedesktop-menus-3.3-6.noarch.rpm . +mv desktop-integration/libreoffice$SRCSHORT-freedesktop-menus-$SRCBUILD.noarch.rpm . # No, I don't want to update our packaged files after the fact rm -f *onlineupdate*.rpm # We don't want this @@ -132,7 +134,7 @@ cd $PKG/usr/bin cd - # Remove DejaVu and Liberation fonts - these are included in other packages -rm -f opt/libreoffice/basis3.3/share/fonts/truetype/{DejaVu,Liberation}*.ttf +rm -f opt/libreoffice/basis$SRCSHORT/share/fonts/truetype/{DejaVu,Liberation}*.ttf # Fix Exec commands in the desktop files # See http://bugzilla.xfce.org/show_bug.cgi?id=2430 @@ -176,4 +178,4 @@ cat $CWD/doinst.sh > $PKG/install/doinst.sh chown -R root:root . find . -type d -exec chmod 755 {} \; chmod -R u+rw,go+r-w,a-s . -/sbin/makepkg -c n -l y $OUTPUT/$PRGNAM-${VERSION}_${PKG_LANG}-$PKGARCH-$BUILD$TAG.${PKGTYPE:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-${VERSION}_${PKG_LANG}-$PKGARCH-$BUILD$TAG.${PKGTYPE:-tgz} |