# vim: set syn=sh et ai sw=2 st=2 ts=2 tw=0: #Packager: JRD pkgname=backintime pkgver=1.0.8 pkgrel=1cp #arch is usually one of x86_64/i486/i686/noarch source=(http://backintime.le-web.org/download/$pkgname/$pkgname-${pkgver}_src.tar.gz thunar-custom-action-howto) sourcetemplate=http://enialis.net/~jrd/salix/$pkgname/$pkgver-\$arch-$pkgrel/ docs=("readme" "install" "copying" "changelog" "authors" "news" "todo" "thunar-custom-action-howto") url=http://backintime.le-web.org slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "$pkgname (simple backup tool for Linux)" "Back In Time is a simple backup tool for Linux based on rsync." "The backup is done by taking snapshots of a specified set of folders." "This is the front-end for GNOME/GTK." "You could find how to add a custom action in Thunar in" " /usr/doc/$pkgname-$pkgver/" "All you have to do is configure:" " * Where to save snapshot" " * What directories to backup" " * When backup should be done" ) build() { cd $startdir/src/backintime-$pkgver/common || return 1 export DESTDIR=$startdir/pkg export PREFIX=/usr ./configure || return 1 make -j $numjobs || return 1 make install || return 1 cd $startdir/src/backintime-$pkgver/gnome || return 1 ./configure --no-check || return 1 make -j $numjobs || return 1 make install || return 1 cp $startdir/pkg/usr/share/applications/backintime-gnome-root.desktop $startdir/pkg/usr/share/applications/backintime-gnome-root-kde.desktop echo 'NotShowIn=KDE' >> $startdir/pkg/usr/share/applications/backintime-gnome-root.desktop sed -i 's/gksu /kdesu /' $startdir/pkg/usr/share/applications/backintime-gnome-root-kde.desktop echo 'OnlyShowIn=KDE' >> $startdir/pkg/usr/share/applications/backintime-gnome-root-kde.desktop }