1 # Contributor: solid <patrick.schwalm (at) googlemail.com
2 # Maintainer: J. W. Birdsong <@gmail.com>
9 pkgdesc="a simple backup tool for Linux (GNOME & KDE4) Full blown Version"
10 url="https://launchpad.net/backintime"
12 arch=('i686' 'x86_64')
13 depends=('python2' 'rsync' 'cron' 'kdebindings-python' 'kdesdk-kompare' 'meld' 'gnome-python' 'gnome-session' 'python-notify')
15 optdepends=('gloobus-preview')
16 provides=(${_realname} 'backintime-kde4')
17 conflicts=(${_realname} 'backintime-kde4')
19 _bzrtrunk=lp:backintime
25 msg "Connecting to the server...."
27 if [ ! -d ./${_bzrmod} ]; then
28 bzr co ${_bzrtrunk} ${_bzrmod} -r ${pkgver}
33 msg "BZR checkout done or server timeout"
34 msg "Starting make..."
36 [ -d ./${_bzrmod}-build ] && rm -rf ./{$_bzrmod}-build
37 cp -r ./${_bzrmod} ./${_bzrmod}-build
38 cd ${srcdir}/${_bzrmod}-build
40 cd ${srcdir}/${_bzrmod}-build/common
43 make DESTDIR=${pkgdir} install
44 sed -i -e 's/python/python2/g' ${pkgdir}/usr/bin/backintime
46 cd ${srcdir}/${_bzrmod}-build/kde4
49 make DESTDIR=${pkgdir} install
50 sed -i -e 's/python/python2/g' ${pkgdir}/usr/bin/backintime-kde4
52 cd ${srcdir}/${_bzrmod}-build/gnome
55 make DESTDIR=${pkgdir} install
56 sed -i -e 's/python/python2/g' ${pkgdir}/usr/bin/backintime-gnome
57 rm -fr ${srcdir}/${_bzrmod}-build
59 # vim:set ts=2 sw=2 et: