blob: d3d3945e4333f02574800ee5ff6eafde3a1d176c (
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
|
# Maintainer: Ryan Farley <ryan.farley@gmx.com>
pkgname=rsbep-backup-git
pkgver=r6.1a6da31
pkgrel=1
pkgdesc="A customized version of rsbep used to create resilient backups"
arch=('armv7h' 'i686' 'x86_64')
url="https://www.thanassis.space/rsbep.html"
license=('GPL')
makedepends=('git' 'python2' 'python2-fuse')
optdepdends=('python2-fuse: poorZFS support')
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
source=('rsbep-backup::git+https://github.com/ttsiodras/rsbep-backup.git')
md5sums=('SKIP')
pkgver() {
cd "$srcdir/${pkgname%-git}"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
prepare() {
cd "$srcdir/${pkgname%-git}"
#python2 required
sed -i '1s/python/python2/' contrib/poorZFS.py
}
build() {
cd "$srcdir/${pkgname%-git}"
./configure --prefix=/usr
make
}
package() {
cd "$srcdir/${pkgname%-git}"
make DESTDIR="$pkgdir/" install
}
|