diff options
Diffstat (limited to 'office/libreoffice/libreoffice.SlackBuild')
-rw-r--r-- | office/libreoffice/libreoffice.SlackBuild | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/office/libreoffice/libreoffice.SlackBuild b/office/libreoffice/libreoffice.SlackBuild index bf586ca60c..bceb42587f 100644 --- a/office/libreoffice/libreoffice.SlackBuild +++ b/office/libreoffice/libreoffice.SlackBuild @@ -24,17 +24,16 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # Modified by Niels Horn <niels.horn@gmail.com> -# Revision date: 2011/06/20 +# Revision date: 2011/08/01 PRGNAM=libreoffice -VERSION="3.4.0" +VERSION=${VERSION:-"3.4.2"} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} # These variables seem to change with (almost) every release... SRCVERSION=$VERSION -SRCSHORT="3.4" -SRCBUILD="3.4-12" +SRCSHORT=$(echo $VERSION | cut -f1-2 -d.) #"3.4" if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -111,7 +110,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/libreoffice$SRCSHORT-freedesktop-menus-$SRCBUILD.noarch.rpm . +mv desktop-integration/libreoffice$SRCSHORT-freedesktop-menus-$SRCSHORT-*.noarch.rpm . # No, I don't want to update our packaged files after the fact rm -f *onlineupdate*.rpm # We don't want this |