updated on Sun Jan 15 00:02:00 UTC 2012
[aur-mirror.git] / deja-dup-devel / PKGBUILD
blobd73dcbe1b608b13714c5e71879412478b38e6f72
1 # Maintainer: Michael Pusterhofer <pusterhofer at student dot tugraz dot ..>
2 # Contributor: polslinux <garrett16 at hotmail dot it>
3 # Contributor: jijijaco <jijijaco at gmail dot com>
4 # Contributor: Jonathan Vasquez <jvasquez1011 at gmail dot com>
6 # There is a bug in this release (Upstream) where you can't build in parallel. The fix has been submited to trunk.
7 # https://bugs.launchpad.net/deja-dup/+bug/900395
9 # If you want nautilus support, make sure you add 'nautilus' to the depends array before compiling.
11 pkgname=deja-dup-devel
12 _pkgname=deja-dup
13 pkgver=21.2
14 _pkgmain=22
15 pkgrel=2
16 pkgdesc="A simple backup program. It hides the complexity of doing backups the 'right way' (encrypted, off-site, and regular) and uses duplicity as the backend."
17 arch=('i686' 'x86_64')
18 url="https://launchpad.net/deja-dup"
19 license=('GPL')
20 depends=('vala' 'duplicity' 'gnome-common' 'itstool')
21 optdepends=('bzr: A decentralized revision control system (bazaar)'
22             'yelp-tools: Tools for creating Yelp documentation'  
23             'xvfb: Virtual framebuffer X server'
24             'nautilus: GNOME file manager'
25             'gnome-control-center: GNOME control center integration')
26 provides=('deja-dup')
27 conflicts=('deja-dup' 'deja-dup-new')
28 install=deja-dup.install
29 source=("http://launchpad.net/${_pkgname}/${_pkgmain}/${pkgver}/+download/${_pkgname}-${pkgver}.tar.xz")
30 md5sums=('6fa0977a4049df137d0b2c5a8bb7574e')
32 build() {
33     cd ${srcdir}/deja-dup-${pkgver} 
34     ./configure --bindir=/usr/bin \
35         --prefix=/usr \
36                 --sysconfdir=/etc \
37                 --datarootdir=/usr/share \
38                 --libexecdir=/usr/lib \
39         
40     # -j1 is used as a temporary fix to the parallel build bug. If -j1 isn't used,
41     # then Arch systems that are configured for SMP builds, will fail.
42     make -j1
45 check(){
46     cd ${srcdir}/deja-dup-${pkgver}
47     #make check #fixed in 21.3
50 package () {
51     cd ${srcdir}/deja-dup-${pkgver}
52     make DESTDIR="${pkgdir}" install