summaryrefslogtreecommitdiff
path: root/office/acroread/acroread.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'office/acroread/acroread.SlackBuild')
-rw-r--r--office/acroread/acroread.SlackBuild13
1 files changed, 8 insertions, 5 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