summaryrefslogtreecommitdiff
path: root/office/adobe-reader/adobe-reader.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'office/adobe-reader/adobe-reader.SlackBuild')
-rw-r--r--office/adobe-reader/adobe-reader.SlackBuild14
1 files changed, 10 insertions, 4 deletions
diff --git a/office/adobe-reader/adobe-reader.SlackBuild b/office/adobe-reader/adobe-reader.SlackBuild
index 4392acb79e..aef9ca063c 100644
--- a/office/adobe-reader/adobe-reader.SlackBuild
+++ b/office/adobe-reader/adobe-reader.SlackBuild
@@ -3,7 +3,7 @@
# Slackware build script for acroread - binary repackaging
# Copyright 2006-2009 Robby Workman Northport, Alabama, USA
-# Copyright 2008-2009 Heinz Wiesinger <pprkut@liwjatan.at>
+# Copyright 2008-2009 Heinz Wiesinger, Amsterdam, The Netherlands
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -27,7 +27,7 @@
# permission to modify it as needed.
PRGNAM=adobe-reader
-VERSION=9.1.1
+VERSION=9.2
ARCH=i486 # Leave this alone for acroread
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -83,7 +83,7 @@ cd $PKG/usr/share/mime/packages
cd -
# Fix symlink to .desktop file
-mkdir -p $PKG/usr/share/{applications,pixmaps}
+mkdir -p $PKG/usr/share/{applications,pixmaps}
cd $PKG/usr/share/applications
rm -f AdobeReader.desktop
ln -sf /opt/Adobe/Reader9/Resource/Support/AdobeReader.desktop .
@@ -95,6 +95,12 @@ cd $PKG/usr/share/pixmaps
ln -sf /opt/Adobe/Reader9/Resource/Icons/48x48/AdobeReader9.png .
cd -
+# Link manpage to /usr/man/man1
+mkdir -p $PKG/usr/man/man1
+cd $PKG/usr/man/man1
+ ln -sf /opt/Adobe/Reader9/Resource/Shell/acroread.1.gz .
+cd -
+
# Move docs to their correct locations
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a $TMP/AdobeReader/ReadMe.htm $PKG/usr/doc/$PRGNAM-$VERSION
@@ -112,4 +118,4 @@ chmod -R a-s,u+w,go+r-w .
# No stripping of binaries and such, as Firefox doesn't like naked acroread :D
# Just build the package... ;P
-/sbin/makepkg -p -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
+/sbin/makepkg -p -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}