summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e1ecd27b222571f3599da2432ea6ccd7d0c6f617 (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
# 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.0
pkgrel=1

arch=("any")
license=("MIT")

makedepends=(
    "git"
)
depends=(
    "rsync"
)
optdepends=(
    "openssh: backup to remote (SCP) locations"
)

source=(
    "${pkgname}-${pkgver}::git+https://github.com/cytopia/linux-timemachine.git"
)
sha256sums=(
    "SKIP"
)

package() {
    cd "${srcdir}/${pkgname}-${pkgver}/"

    install \
        -Dm755 \
        timemachine \
        "${pkgdir}/usr/bin/timemachine"

    install \
        -Dm644 \
        LICENSE.md \
        "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}