blob: 9fabeab983b6d98b0adf9be49985601b5a5a0de3 (
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
|
# Maintainer: willemw <willemw12@gmail.com>
_pkgname=backintime
pkgname=($_pkgname-git $_pkgname-cli-git)
pkgver=1.3.2.r105.g2121c60c
pkgrel=1
url="https://github.com/bit-team/backintime"
license=('GPL')
arch=('any')
makedepends=('git' 'openssh' 'python-dbus' 'python-keyring' 'rsync' 'systemd' 'xorg-xdpyinfo')
checkdepends=('python-pyfakefs' 'python-pyqt5')
source=($_pkgname::git+$url.git)
sha256sums=('SKIP')
pkgver() {
git -C $_pkgname describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd "$srcdir/$_pkgname/common"
./configure --python3 --no-fuse-group
make
cd "$srcdir/$_pkgname/qt"
./configure --python3
make
}
#check() {
# #make -C $_pkgname/common test
#
# # Isolate some of the integration tests (~/.ssh/ files, ...)
# HOME=tmp make -C $_pkgname/common test
# rm -rf $_pkgname/common/tmp
#}
package_backintime-cli-git() {
pkgdesc="Simple backup/snapshot system inspired by Flyback and TimeVault. CLI version."
depends=('cron' 'fuse2' 'openssh' 'python-dbus' 'python-keyring' 'python-packaging' 'rsync')
#'ecryptfs-utils: verify home encryption'
optdepends=('encfs: encrypted filesystems'
'sshfs: remote filesystems')
provides=($_pkgname-cli)
conflicts=($_pkgname-cli)
make -C $_pkgname/common DESTDIR="$pkgdir" install
}
package_backintime-git() {
pkgdesc="Simple backup/snapshot system inspired by Flyback and TimeVault. Qt5 GUI version."
#depends=('backintime-cli' 'libnotify' 'polkit' 'python-dbus' 'python-pyqt5' 'xorg-xdpyinfo')
depends=('backintime-cli-git' 'libnotify' 'polkit' 'python-dbus' 'python-pyqt5' 'xorg-xdpyinfo')
optdepends=('kompare: diff tool'
'meld: diff tool'
'python-secretstorage: store passwords'
'qt5-wayland: Wayland support')
provides=($_pkgname)
conflicts=($_pkgname)
make -C $_pkgname/qt DESTDIR="$pkgdir" install
}
|