diff options
author | Christoph Fink | 2020-05-14 15:38:13 +0300 |
---|---|---|
committer | Christoph Fink | 2020-05-14 15:38:13 +0300 |
commit | 808c7e860289b451e507d8d7a3113a0b5b018c66 (patch) | |
tree | e18962641a9add16adf1dc94d7e2ef1981875ca7 /PKGBUILD | |
download | aur-808c7e860289b451e507d8d7a3113a0b5b018c66.tar.gz |
v1.0
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..f15fc3bb2bda --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,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=0 + +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" +} |