blob: 06d1e100b83ad79865bffe8d6652f7c2088bd366 (
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
|
# Maintainer: peippo <christoph.fink@gmail.com>
pkgname="linux-timemachine-git"
pkgdesc="Rsync-based OSX-like time machine for atomic and resumable local and remote backups"
url="https://github.com/cytopia/linux-timemachine"
pkgver=1.2.r0.g19d6e9a
pkgrel=2
arch=("any")
license=("MIT")
makedepends=("git")
depends=("rsync")
optdepends=("openssh: backup to remote (SCP) locations")
source=("${pkgname}::git+https://github.com/cytopia/linux-timemachine.git")
sha256sums=("SKIP")
pkgver() {
cd "${pkgname}"
git describe --long --always | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
package() {
cd "${srcdir}/${pkgname}"
install \
-Dm755 \
timemachine \
"${pkgdir}/usr/bin/timemachine"
install \
-Dm644 \
LICENSE.md \
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
|