# $Id: PKGBUILD 68348 2012-03-22 18:06:16Z bgyorgy $ # Maintainer: Balló György pkgname=deja-dup pkgver=22.0 pkgrel=1 pkgdesc="Simple backup tool, that hides the complexity of backing up the Right Way and uses duplicity as the backend" arch=('i686' 'x86_64') url="https://launchpad.net/deja-dup" license=('GPL') depends=('duplicity' 'gtk3' 'libgnome-keyring' 'libnotify' 'dconf' 'hicolor-icon-theme' 'xdg-utils') makedepends=('vala' 'intltool' 'itstool' 'nautilus') optdepends=('nautilus: backup extension') options=('!libtool') install=$pkgname.install source=(http://launchpad.net/$pkgname/${pkgver%.*}/$pkgver/+download/$pkgname-$pkgver.tar.xz) md5sums=('b8a71a26cdf3c460a9e5104212527d29') build() { cd "$srcdir/$pkgname-$pkgver" sed -i 's/\"python\", \"-c\"/\"python2\", \"-c\"/' common/PythonChecker.vala ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libexecdir=/usr/lib/$pkgname \ --disable-static --disable-schemas-compile --without-unity make } package() { cd "$srcdir/$pkgname-$pkgver" make DESTDIR="$pkgdir/" install }