summaryrefslogtreecommitdiff
path: root/office
diff options
context:
space:
mode:
authorHeinz Wiesinger <pprkut@liwjatan.at>2010-05-11 22:26:03 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-11 22:26:03 +0200
commit667a9569f7b132e09ef1de11527b3b11377b0544 (patch)
tree6bb45bd02665a4b8746c205e2c4547302751311a /office
parentb123beffc871a314907965ab26bff7aebe3371ea (diff)
downloadslackbuilds-667a9569f7b132e09ef1de11527b3b11377b0544.tar.gz
office/acroread: Updated for version 8.1.3
Diffstat (limited to 'office')
-rw-r--r--office/acroread/acroread.SlackBuild13
-rw-r--r--office/acroread/acroread.info10
-rw-r--r--office/acroread/doinst.sh8
3 files changed, 17 insertions, 14 deletions
diff --git a/office/acroread/acroread.SlackBuild b/office/acroread/acroread.SlackBuild
index e71ac13fcd..83d323d8f3 100644
--- a/office/acroread/acroread.SlackBuild
+++ b/office/acroread/acroread.SlackBuild
@@ -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
diff --git a/office/acroread/acroread.info b/office/acroread/acroread.info
index f8794ea9c0..f70afb05c6 100644
--- a/office/acroread/acroread.info
+++ b/office/acroread/acroread.info
@@ -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"
diff --git a/office/acroread/doinst.sh b/office/acroread/doinst.sh
index 19169f047d..9a8ded3c60 100644
--- a/office/acroread/doinst.sh
+++ b/office/acroread/doinst.sh
@@ -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