summaryrefslogtreecommitdiff
path: root/office/scribus/scribus.SlackBuild
diff options
context:
space:
mode:
authorHeinz Wiesinger <pprkut@liwjatan.at>2012-01-22 21:36:07 -0600
committerRobby Workman <rworkman@slackbuilds.org>2012-01-28 15:48:36 -0600
commit3f5dbdd89f8ff3c4832eedccff79ca70c3830c67 (patch)
treeac8ed636c0a581167e14b664ef6004d9308de3e4 /office/scribus/scribus.SlackBuild
parent92d9ec3b5235d90ef7f6f967c6beb541d511eca4 (diff)
downloadslackbuilds-3f5dbdd89f8ff3c4832eedccff79ca70c3830c67.tar.gz
office/scribus: Updated for version 1.4.0.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'office/scribus/scribus.SlackBuild')
-rw-r--r--office/scribus/scribus.SlackBuild9
1 files changed, 5 insertions, 4 deletions
diff --git a/office/scribus/scribus.SlackBuild b/office/scribus/scribus.SlackBuild
index 663f5e419a..e562f7f7cd 100644
--- a/office/scribus/scribus.SlackBuild
+++ b/office/scribus/scribus.SlackBuild
@@ -3,7 +3,7 @@
# Slackware build script for scribus
# Copyright 2006 Martin Lefebvre <dadexter@gmail.com>
-# Copyright 2008-2011 Heinz Wiesinger, Amsterdam, The Netherlands
+# Copyright 2008-2012 Heinz Wiesinger, Amsterdam, The Netherlands
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -27,7 +27,7 @@
# Including input by Yalla-One and some code cleanup by rworkman
PRGNAM=scribus
-VERSION=1.3.9
+VERSION=1.4.0
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -73,7 +73,6 @@ cmake \
-DCMAKE_C_FLAGS="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX:PATH=/usr \
- -DLIB_INSTALL_DIR:PATH=/usr/lib${LIBDIRSUFFIX} \
-DLIB_SUFFIX=${LIBDIRSUFFIX} \
-DRENDER_LIB=CAIRO
@@ -93,7 +92,9 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
mv $PKG/usr/share/man $PKG/usr
find $PKG/usr/man -type f -exec gzip -9 {} \;
-mv $PKG/usr/share/doc $PKG/usr
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+mv $PKG/usr/share/doc/scribus/* $PKG/usr/doc/$PRGNAM-$VERSION/
+rm -rf $PKG/usr/share/doc
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install