aboutsummaryrefslogtreecommitdiff
path: root/office/scribus/scribus.SlackBuild
diff options
context:
space:
mode:
authorMartin Lefebvre <dadexter@gmail.com>2010-05-11 19:46:17 +0200
committerMichiel van Wessem <michiel@slackbuilds.org>2010-05-11 19:46:17 +0200
commit01da78029cb95ffbb4e49c729cc8928e98bc5171 (patch)
treeac1cbeb19ed7e81943bb7a5b2bf011edb993e1c4 /office/scribus/scribus.SlackBuild
parent4368105c73212ecd0b84cf758463a6a5105651a6 (diff)
office/scribus: Updated for version 1.3.3.9
Diffstat (limited to 'office/scribus/scribus.SlackBuild')
-rw-r--r--office/scribus/scribus.SlackBuild28
1 files changed, 11 insertions, 17 deletions
diff --git a/office/scribus/scribus.SlackBuild b/office/scribus/scribus.SlackBuild
index 56fbe311cd2a7..25f5d1019f421 100644
--- a/office/scribus/scribus.SlackBuild
+++ b/office/scribus/scribus.SlackBuild
@@ -23,12 +23,12 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# Modified by the SlackBuilds.org project
-# Including input by Yalla-One and some code cleanup by robw810
+# Including input by Yalla-One and some code cleanup by rworkman
set -e
PRGNAM=scribus
-VERSION=1.3.3.8
+VERSION=1.3.3.9
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -55,7 +55,7 @@ chmod -R a-s,u+w,go+r-w .
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
- --prefix=/opt/kde \
+ --prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--enable-cairo
@@ -63,23 +63,17 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install-strip DESTDIR=$PKG
-# Install .desktop file, icon, and mime information
-install -m 0644 -D scribus.desktop $PKG/opt/kde/share/applications/kde/scribus.desktop
-install -m 0644 -D scribus/icons/scribusicon.png $PKG/opt/kde/share/icons/scribusicon.png
+# Install .desktop file and mime information
+install -m 0644 -D scribus.desktop $PKG/usr/share/applications/kde/scribus.desktop
install -m 0644 -D scribus.xml $PKG/usr/share/mime/packages/scribus.xml
-if [ -d $PKG/opt/kde/man ]; then
- ( cd $PKG/opt/kde/man
- find . -type f -exec gzip -9 {} \;
- for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
- )
-fi
-
-mkdir -p $PKG/usr/doc
-( cd $PKG/usr/doc
- ln -s ../../opt/kde/share/doc/$PRGNAM-$VERSION $PRGNAM-$VERSION
+mv $PKG/usr/share/man $PKG/usr
+( cd $PKG/usr/man
+ find . -type f -exec gzip -9 {} \;
+ for i in $(find . -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done
)
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/share/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc