1 # Maintainer: György Balló <ballogy@freestart.hu>
2 # Contributor: Travis Willard <travisw@wmpub.ca>
3 # Contributor: William Rea <sillywilly@gmail.com>
8 pkgdesc="Simple backup solution intended for desktop use"
10 url="https://launchpad.net/sbackup"
12 depends=('python2-gconf' 'python2-libgnome' 'python-notify' 'gvfs' 'dbus-python' 'hicolor-icon-theme' 'xdg-utils')
13 makedepends=('python2-distribute')
14 optdepends=('python-pexpect: for ssh fuse plugin'
15 'sshfs: for ssh plugin'
16 'curlftpfs: for ftp and sftp fuse plugins')
17 install=$pkgname.install
18 source=(http://launchpad.net/$pkgname/${pkgver%.*}/$pkgver/+download/${pkgname}_$pkgver.tar.gz)
19 md5sums=('5e85502c233be387f58a5cdefffc8ab0')
22 cd "$srcdir/$pkgname-$pkgver"
23 find . -type f | xargs sed -i 's@^#!.*python$@#!/usr/bin/python2@'
24 sed -i "s/dpkg --get-selections/pacman -Q/" src/sbackup/core/snapshot.py
26 make PYTHON=python2 PREFIX=/usr
30 cd "$srcdir/$pkgname-$pkgver"
34 DESTDIR="$pkgdir/usr" \
35 sysconf_dir=$pkgdir/etc \
36 SETUP.PY_OPTS="--root=$pkgdir/" \
37 DISABLE_MAKEFILE_GTK_UPDATE_ICON_CACHE=1 \
38 DISABLE_MAKEFILE_DESKTOP_DATABASE_RELOAD=1 \
39 DISABLE_MAKEFILE_DBUS_RELOAD=1 \
40 GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 \
41 DISABLE_MAKEFILE_CLEAN_DATA=1 \