desktop/backintime-kde/PKGBUILD

36 lines
1.1 KiB
Bash

#
# Chakra Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
pkgname=backintime-kde
pkgver=1.0.8
pkgrel=1
pkgdesc="Back In Time is a simple backup system for Linux inspired from 'flyback project' and 'TimeVault'. KDE 4 version"
arch=('i686' 'x86_64')
url="http://backintime.le-web.org/"
license="GPL"
depends=('rsync' 'cron' 'python' 'xorg-utils' 'pyqt' 'kdebindings-python')
categories=('utils' 'backup')
source=(http://backintime.le-web.org/download/backintime/backintime-${pkgver}_src.tar.gz)
md5sums=('676c743cb64fdc646c290c62e45640ff')
build() {
cd $startdir/src/backintime-$pkgver/common
./configure
make || return 1
make DESTDIR=${pkgdir} install || return 1
sed -i -e 's/python/python2/g' ${pkgdir}/usr/bin/backintime
cd $startdir/src/backintime-$pkgver/kde4
./configure
make || return 1
}
package(){
cd $startdir/src/backintime-$pkgver/kde4
make DESTDIR=${pkgdir} install || return 1
sed -i -e 's/python/python2/g' ${pkgdir}/usr/bin/backintime-kde4
}