From 7627d885ff2e84bba033a5c1114b26dc3c28cdea Mon Sep 17 00:00:00 2001 From: Heinz Wiesinger Date: Thu, 13 May 2010 00:38:54 +0200 Subject: office/adobe-reader: Updated for version 9.2 --- office/adobe-reader/README | 4 +++- office/adobe-reader/adobe-reader.SlackBuild | 14 ++++++++++---- office/adobe-reader/adobe-reader.info | 10 ++++++---- office/adobe-reader/doinst.sh | 1 + 4 files changed, 20 insertions(+), 9 deletions(-) (limited to 'office') diff --git a/office/adobe-reader/README b/office/adobe-reader/README index 437114e2d1..7aaeb8898f 100644 --- a/office/adobe-reader/README +++ b/office/adobe-reader/README @@ -1,2 +1,4 @@ Adobe's Acrobat Reader application (official binary) repackaged -in "Slackware style" for easier system maintenance. \ No newline at end of file +in "Slackware style" for easier system maintenance. + +Adobe Reader does not work on x86_64. 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 +# 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} diff --git a/office/adobe-reader/adobe-reader.info b/office/adobe-reader/adobe-reader.info index 7b8215ef35..d37d40b6cc 100644 --- a/office/adobe-reader/adobe-reader.info +++ b/office/adobe-reader/adobe-reader.info @@ -1,8 +1,10 @@ PRGNAM="adobe-reader" -VERSION="9.1.1" +VERSION="9.2" HOMEPAGE="http://www.adobe.com/" -DOWNLOAD="http://ardownload.adobe.com/pub/adobe/reader/unix/9.x/9.1.1/enu/AdbeRdr9.1.1-1_i486linux_enu.tar.bz2" -MD5SUM="6319d5c1e1ceff635bb3ff7a60e466e7" -MAINTAINER="pprkut" +DOWNLOAD="ftp://ftp.adobe.com/pub/adobe/reader/unix/9.x/9.2/enu/AdbeRdr9.2-1_i486linux_enu.tar.bz2" +MD5SUM="a39f6398f5432fc0761748dc94052af1" +DOWNLOAD_x86_64="UNSUPPORTED" +MD5SUM_x86_64="" +MAINTAINER="Heinz Wiesinger" EMAIL="pprkut@liwjatan.at" APPROVED="rworkman" diff --git a/office/adobe-reader/doinst.sh b/office/adobe-reader/doinst.sh index 9a8ded3c60..e4e6459838 100644 --- a/office/adobe-reader/doinst.sh +++ b/office/adobe-reader/doinst.sh @@ -5,3 +5,4 @@ fi if [ -x /usr/bin/update-mime-database ]; then /usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1 fi + -- cgit v1.2.3