updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / backintime-kde4 / PKGBUILD
blob5d1315672bef255c99d8db273c66309fdf5bf71a
1 # Contributor: Alessio Biancalana <dottorblaster@gmail.com>
2 # Contributor: Kevin Kyzer <kevin@imsmrt.com>
4 pkgname=backintime-kde4
5 pkgver=1.0.8
6 pkgrel=1
7 pkgdesc="Back In Time is a simple backup system for Linux inspired from 'flyback project' and 'TimeVault'. KDE 4 version"
8 arch=('i686' 'x86_64')
9 url="http://backintime.le-web.org/"
10 license="GPL"
11 depends=('rsync' 'cron' 'python2' 'xorg-utils' 'python2-qt' 'kdebindings-python')
12 source=(http://backintime.le-web.org/download/backintime/backintime-${pkgver}_src.tar.gz)
13 md5sums=('676c743cb64fdc646c290c62e45640ff')
15 build() {
16 cd $startdir/src/backintime-$pkgver/common
17 ./configure
18 make || return 1
20 cd $startdir/src/backintime-$pkgver/kde4
21 ./configure
22 make || return 1
25 package(){
26 cd $startdir/src/backintime-$pkgver/common
27 make DESTDIR=${pkgdir} install || return 1
28 sed -i -e 's/python/python2/g' ${pkgdir}/usr/bin/backintime
30 cd $startdir/src/backintime-$pkgver/kde4
31 make DESTDIR=${pkgdir} install || return 1
32 sed -i -e 's/python/python2/g' ${pkgdir}/usr/bin/backintime-kde4