desktop/backintime/PKGBUILD
2015-03-25 13:34:20 +00:00

37 lines
1.1 KiB
Bash

pkgname=backintime
pkgver=1.1.4
pkgrel=1
pkgdesc="A simple backup system for Linux inspired from 'flyback project' and 'TimeVault'."
arch=('x86_64')
url="https://launchpad.net/backintime"
license="GPL"
depends=('rsync' 'cron' 'python' 'xorg-utils' 'python3-pyqt4' 'python3-keyring' 'icu' 'polkit'
'openssh' 'python3-dbus' 'libnotify')
categories=('utils' 'backup')
provides=('backintime-kde')
conflicts=('backintime-kde')
replaces=('backintime-kde')
source=("https://launchpadlibrarian.net/200955618/${pkgname}-${pkgver}.tar.gz")
sha256sums=('434fc1fb6d9ac20d7b04c791e39bf9e077773c696e18f2bf1aa8f3e7fb59a770')
build() {
cd "${srcdir}/${pkgname}-${pkgver}/common"
./configure --python3 --no-fuse-group
make
cd "${srcdir}/${pkgname}-${pkgver}/qt4"
./configure --python3
make
}
package(){
cd "${srcdir}/${pkgname}-${pkgver}/common"
make DESTDIR="${pkgdir}" install
sed -i -e 's/python/python3/g' "${pkgdir}/usr/bin/backintime"
cd "${srcdir}/${pkgname}-${pkgver}/qt4"
make DESTDIR="${pkgdir}" install
sed -i -e 's/python/python3/g' "${pkgdir}/usr/bin/backintime-qt4"
}