blob: b354c960cc4a6e52b69daa80808209b9507bdacc (
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
|
# Maintainer: Karol Babioch <karol@babioch.de
pkgname=snapback-git
pkgver=1.r0.aff9eeb
pkgrel=1
pkgdesc="Set of scripts to glue together snapshot capabilities from btrfs and backup solutions from borg in a reliable and automated way."
arch=('any')
url="https://github.com/kbabioch/snapback/"
license=('GPL3')
depends=('btrfs-progs' 'borg')
makedepends=('git')
provides=('snapback')
conflicts=('snapback')
backup=('etc/conf.d/snapback')
source=('git+https://github.com/kbabioch/snapback.git')
sha256sums=('SKIP')
pkgver() {
cd "$srcdir/snapback"
git describe --long | sed 's/^v//;s/\([^-]*-\)g/r\1/;s/-/./g'
}
build() {
#make
:
}
package() {
cd "$srcdir/snapback"
make DESTDIR="$pkgdir/" install
}
|