summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: b0b2c306a07311e2d5d0278e77ba659a3d4ec257 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#Maintainer: solisinvictum https://github.com/solisinvictum/borgrestore
pkgname="borgrestore"
pkgver="0.3"
pkgrel="0.3"
pkgdesc="Puts the system in exactly the same state as it is in a Borg snapshot."
arch=("any")
source=("git+https://github.com/solisinvictum/borgrestore.git")
sha512sums=("SKIP")
depends=(git borg python-llfuse rsync)
optdepends=('vorta: a nice Borg GUI')

package() {

  mkdir -p "${pkgdir}/usr/bin"
  cp "${srcdir}/borgrestore/borgrestore" "${pkgdir}/usr/bin/borgrestore"
  chmod +x "${pkgdir}/usr/bin/borgrestore"

  mkdir -p "${pkgdir}/etc/borgrestore"
  cp "${srcdir}/borgrestore/borgrestore.conf" "${pkgdir}/etc/borgrestore/borgrestore.conf"

}