summaryrefslogtreecommitdiff
path: root/graphics/djview4/djview4.SlackBuild
diff options
context:
space:
mode:
authorVladimir Yatsemirski <7catssmile@gmail.com>2015-05-15 07:41:47 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-05-15 07:41:47 +0700
commitddbf14d3ee1321e479e821667df3afaf0c8dc7e0 (patch)
tree1ae413d129289d0bed5ac0df3e61c3f7e23725cb /graphics/djview4/djview4.SlackBuild
parent26c287254f4f09792a100611d5dadcfa411a8a57 (diff)
downloadslackbuilds-ddbf14d3ee1321e479e821667df3afaf0c8dc7e0.tar.gz
graphics/djview4: Updated for version 4.10.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'graphics/djview4/djview4.SlackBuild')
-rw-r--r--graphics/djview4/djview4.SlackBuild20
1 files changed, 7 insertions, 13 deletions
diff --git a/graphics/djview4/djview4.SlackBuild b/graphics/djview4/djview4.SlackBuild
index 5fc7d50849..a60ec996c5 100644
--- a/graphics/djview4/djview4.SlackBuild
+++ b/graphics/djview4/djview4.SlackBuild
@@ -4,7 +4,7 @@
# Copyright 2008-2010 Murat D. Kadirov <banderols@gmail.com>
# Copyright 2012 Binh Nguyen <binhvng@gmail.com>
-# Copyright 2014 Vladimir Yatsemirski <7catssmile@gmail.com>
+# Copyright 2015 Vladimir Yatsemirski <7catssmile@gmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,8 +24,10 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# Thanks Jean-Pierre Moreau.
+
PRGNAM=djview4
-VERSION=${VERSION:-4.9}
+VERSION=${VERSION:-4.10}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -63,6 +65,7 @@ mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/djview-$VERSION.tar.gz
+mv djview-$VERSION djview4-$VERSION
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -89,17 +92,8 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install DESTDIR=$PKG
-# This plugin *should* work with Mozilla-based browsers
-if [ "$ARCH" = "x86_64" ]; then
- mv $PKG/usr/lib$LIBDIRSUFFIX/netscape $PKG/usr/lib$LIBDIRSUFFIX/mozilla
-else
- mv $PKG/usr/lib/netscape $PKG/usr/lib/mozilla
-fi
-
-mkdir -p $PKG/usr/share/{applications,pixmaps,}
-cp $PKG/usr/share/djvu/djview4/desktop/*.desktop \
- $PKG/usr/share/applications
-cp $PKG/usr/share/djvu/djview4/desktop/hi32-djview4.png \
+mkdir -p $PKG/usr/share/pixmaps
+cp $PKG/usr/share/icons/hicolor/32x32/mimetypes/djvulibre-djview4.png \
$PKG/usr/share/pixmaps/djvulibre-djview4.png
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \