summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 4911dfec7ebf74c40fa97c760e6ae402b251a519 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
pkgname=sibt-git
pkgver=0.2.1
pkgrel=1
pkgdesc="A configurable command line interface to existing backup tools"
arch=('any')
url='https://pid0.github.io/sibt-doc/index.html'
license=('GPL3')
depends=(python bash openssh util-linux rsync rdiff-backup tar lzop duplicity)
makedepends=()
checkdepends=(python-pytest python-paramiko python2-fuse phodav) #python-paver)
optdepends=('sshfs: For auto-mounting via sftp'
            'cronie: For using anacron as a scheduler')

source=(git+https://github.com/pid0/sibt.git)
sha256sums=('SKIP')

check() {
  cd "$srcdir"/sibt

  #TODO paver does not return non-zero if tests fail
  paver acceptance_test
}

package() {
  cd "$srcdir"/sibt

  paver install --root="$pkgdir" --prefix=/usr -O1
  #python setup.py install --root="$pkgdir" --prefix=/usr -O1
}