summaryrefslogtreecommitdiffstats
path: root/system/backintime/backintime.SlackBuild
diff options
context:
space:
mode:
author Pierre Cazenave2011-07-12 11:22:47 +0200
committer Niels Horn2011-07-15 02:54:05 +0200
commit08f3b7fbce356a76e316c738c6eb4b907764fb5b (patch)
tree801691a24d0e571969f9f40d29aef14d072b45c0 /system/backintime/backintime.SlackBuild
parent5113e204d18a8619ace13ce228cc8d8a63109eb6 (diff)
downloadslackbuilds-08f3b7fbce356a76e316c738c6eb4b907764fb5b.tar.gz
system/backintime: Updated for version 1.0.8.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'system/backintime/backintime.SlackBuild')
-rw-r--r--system/backintime/backintime.SlackBuild17
1 files changed, 8 insertions, 9 deletions
diff --git a/system/backintime/backintime.SlackBuild b/system/backintime/backintime.SlackBuild
index 69d4f9473f..de59bf2973 100644
--- a/system/backintime/backintime.SlackBuild
+++ b/system/backintime/backintime.SlackBuild
@@ -2,7 +2,7 @@
# SlackBuild script for Back In Time.
#
-# Copyright 2010 Pierre Cazenave <pwcazenave {at} gmail [dot] com>
+# Copyright 2010-2011 Pierre Cazenave <pwcazenave {at} gmail [dot] com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=backintime
-VERSION=0.9.26
+VERSION=1.0.8
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -51,10 +51,6 @@ cd $PRGNAM-$VERSION
chown -R root:root .
chmod -R u+w,go+r-w,a-s .
-# Patch the root .desktop file to use kdesu rather than kdesudo, which isn't
-# included in Slackware
-patch -p1 < $CWD/backintime-kde4-root-desktop.patch
-
# Common components
cd $TMP/$PRGNAM-$VERSION/common
./configure
@@ -65,12 +61,12 @@ cd $TMP/$PRGNAM-$VERSION/common
make install DESTDIR=$PKG
cd -
-# kde4 components
+# KDE4 components
cd $TMP/$PRGNAM-$VERSION/kde4
./configure
# Fix documentation paths
sed -i 's|/share/doc/backintime-kde4|/doc/'$PRGNAM'-'$VERSION'|g' \
- $TMP/$PRGNAM-$VERSION/common/Makefile
+ $TMP/$PRGNAM-$VERSION/kde4/Makefile
make
make install DESTDIR=$PKG
cd -
@@ -81,7 +77,10 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
# Move the manpages from /usr/share to /usr
mv $PKG/usr/share/man/ $PKG/usr
-# Remove duplicate copyright from /usr/share/doc/backintime-0.9.26
+# Move the KDE4 docbook files to the appropriate directory
+mv $PKG/usr/share/doc/kde4/HTML $PKG/usr/doc/
+
+# Remove duplicate documentation in /usr/share/doc/
rm -r $PKG/usr/share/doc
cp -a \