summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichiel van Wessem <michiel.van.wessem@gmail.com>2010-05-11 19:46:13 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-11 19:46:13 +0200
commit38e9d0590684ae6ad2d59b718a292ad36e6590f9 (patch)
tree79fc2423af7bd6281010b38ce3697edf84b83e0a
parent0db349cf159d190346400af0dbbc8fd4784ebf97 (diff)
downloadslackbuilds-38e9d0590684ae6ad2d59b718a292ad36e6590f9.tar.gz
office/kdissert: Updated for version 1.0.7
-rw-r--r--office/kdissert/README2
-rw-r--r--office/kdissert/kdissert.SlackBuild10
-rw-r--r--office/kdissert/kdissert.info4
-rw-r--r--office/kdissert/slack-desc8
4 files changed, 19 insertions, 5 deletions
diff --git a/office/kdissert/README b/office/kdissert/README
index c09a86d35c..8104bb800e 100644
--- a/office/kdissert/README
+++ b/office/kdissert/README
@@ -1,3 +1,5 @@
+Kdissert
+
Kdissert is a mindmapping-like tool to help students to produce complicated
documents very quickly and efficiently : presentations, dissertations,
thesis, reports. While targetted mostly at students, Kdissert can also help
diff --git a/office/kdissert/kdissert.SlackBuild b/office/kdissert/kdissert.SlackBuild
index fe289c94b8..d96c5b1e88 100644
--- a/office/kdissert/kdissert.SlackBuild
+++ b/office/kdissert/kdissert.SlackBuild
@@ -2,7 +2,6 @@
# Slackware build script for: kdissert
# Written by: Michiel van Wessem (BP{k}) <michiel@slackbuilds.org>
-# Modified by the SlackBuilds.org project
set -e
@@ -11,7 +10,7 @@ VERSION=1.0.7
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-CWD=`pwd`
+CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -36,10 +35,12 @@ cd $PRGNAM-$VERSION
chown -R root:root .
chmod -R u+w,go+r-w,a-s .
+KDEPREF=$(kde-config --prefix)
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./waf configure \
- --prefix=/opt/kde \
+ --prefix=$KDEPREF \
--destdir=$PKG
./waf build
@@ -53,6 +54,9 @@ find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip
find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
)
+# Rewrite the kdissert dekstop file so kdissert is placed in Office
+sed -i '#Categories=QT;KDE;Utility;X-KDE-More#Categories=QT;KDE;Office;#' $PKG/usr/share/applications/kde/$PRGNAM.desktop
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a $DOCFILES $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/office/kdissert/kdissert.info b/office/kdissert/kdissert.info
index c4b3d93ef3..56643effee 100644
--- a/office/kdissert/kdissert.info
+++ b/office/kdissert/kdissert.info
@@ -1,8 +1,8 @@
PRGNAM="kdissert"
-VERSION="1.07"
+VERSION="1.0.7"
HOMEPAGE="freehackers.org/~tnagy/kdissert/"
DOWNLOAD="http://freehackers.org/~tnagy/kdissert/kdissert-1.0.7.tar.bz2"
MD5SUM="88ad0d4f67bded1aac307434564215fc"
MAINTAINER="Michiel van Wessem"
EMAIL="michiel.van.wessem@gmail.com"
-APPROVED="robw810"
+APPROVED="rworkman,BP{k}"
diff --git a/office/kdissert/slack-desc b/office/kdissert/slack-desc
index f0e9691c55..e3253ad18b 100644
--- a/office/kdissert/slack-desc
+++ b/office/kdissert/slack-desc
@@ -1,3 +1,11 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description. Line
+# up the first '|' above the ':' following the base package name, and the '|'
+# on the right side marks the last column you can put a character in. You must
+# make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':'.
+
+ |-----handy-ruler------------------------------------------------------|
kdissert: kdissert (mindmapping-like tool)
kdissert:
kdissert: kdissert is a mindmapping-like tool to help to produce complicated