diff options
Diffstat (limited to 'system/backintime/backintime.SlackBuild')
-rw-r--r-- | system/backintime/backintime.SlackBuild | 17 |
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 \ |