office/acroread: Updated for version 8.1.3

This commit is contained in:
Heinz Wiesinger 2010-05-11 22:26:03 +02:00 committed by David Somero
parent b123beffc8
commit 667a9569f7
3 changed files with 17 additions and 14 deletions

View File

@ -2,7 +2,8 @@
# Slackware build script for acroread - binary repackaging
# Copyright 2006-2008 Robby Workman (http://rlworkman.net)
# Copyright 2006-2008 Robby Workman <http://rlworkman.net>
# Copyright 2008 Heinz Wiesinger <pprkut@liwjatan.at>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@ -22,11 +23,11 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# Thanks to Andrew Brouwers for the original SlackBuild script and for
# Thanks to Andrew Brouwers for the original SlackBuild script and for
# permission to modify it as needed.
PRGNAM=acroread
VERSION=8.1.2
VERSION=8.1.3
ARCH=i486 # Leave this alone for acroread
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -41,12 +42,14 @@ ADOBE_LANG=${ADOBE_LANG:-enu}
set -e
rm -rf $PKG
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf AdobeReader*
tar xvf $CWD/AdobeReader_$ADOBE_LANG-$VERSION-1.i486.tar.bz2
VERSION=${VERSION}_$ADOBE_LANG
# Create directory structure and extract files from archives
mkdir -p $PKG/opt/acroread $PKG/usr/bin
cd $PKG/opt/acroread
@ -79,7 +82,7 @@ cd $PKG/usr/share/mime/packages
ln -s /opt/acroread/Reader8/Resource/Support/AdobeReader.xml AdobeReader.xml
cd -
# Fix symlink to .desktop file
# Fix symlink to .desktop file
mkdir -p $PKG/usr/share/{applications,pixmaps}
cd $PKG/usr/share/applications
rm -f AdobeReader.desktop

View File

@ -1,8 +1,8 @@
PRGNAM="acroread"
VERSION="8.1.2"
VERSION="8.1.3"
HOMEPAGE="http://www.adobe.com/"
DOWNLOAD="http://ardownload.adobe.com/pub/adobe/reader/unix/8.x/8.1.2/enu/AdobeReader_enu-8.1.2-1.i486.tar.bz2"
MD5SUM="b530dd4f198764bf3f883293a0186ce4"
DOWNLOAD="http://ardownload.adobe.com/pub/adobe/reader/unix/8.x/8.1.3/enu/AdobeReader_enu-8.1.3-1.i486.tar.bz2"
MD5SUM="c85096f401772f435866a66ec06352f1"
MAINTAINER="ppr:kut"
EMAIL="HMWiesinger@gmx.at"
APPROVED="rworkman"
EMAIL="pprkut@liwjatan.at"
APPROVED="dsomero"

View File

@ -1,7 +1,7 @@
if [ -x usr/bin/update-desktop-database ]; then
usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
fi
if [ -x usr/bin/update-mime-database ]; then
usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1
if [ -x /usr/bin/update-mime-database ]; then
/usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1
fi