office/kdissert: Updated for version 1.0.7

This commit is contained in:
Michiel van Wessem 2010-05-11 19:46:13 +02:00 committed by Robby Workman
parent 0db349cf15
commit 38e9d05906
4 changed files with 19 additions and 5 deletions

View file

@ -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

View file

@ -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

View file

@ -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}"

View file

@ -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