aboutsummaryrefslogtreecommitdiff
path: root/systemd-zfs-partition-backup/AUR/PKGBUILD
blob: f9d73157595a0375896c0d2593bbcd8395f6f701 (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
# Maintainer: Max Christian Pohle <webmaster@coderonline.de>
pkgname=systemd-zfs-partition-backup
pkgver=2020_07_11
# release number, always starts with 1
pkgrel=1
pkgdesc="automatically backup usb* drives to zfs datasets, encryption supported"
arch=('any')
url="http://git.entwicklerseite.de/zfs-auto-backup"
license=('MIT')
depends=(
  'systemd'
  'kbd'
  'mkinitcpio'
)
source=("http://git.entwicklerseite.de/zfs-bash-tools/snapshot/zfs-bash-tools-master.tar.bz2")
sha256sums=('a734c145709687c5621f430d3baec3105977984dfbb35348beab4b793aeb8e1b')

package() {
    install -D zfs-bash-tools-master/${pkgname}.sh                                    ../pkg/${pkgname}/usr/bin/${pkgname}.sh
    install -D zfs-bash-tools-master/${pkgname}/systemd/max-backup\@.service          ../pkg/${pkgname}/usr/lib/systemd/system/${pkgname}.service
    install -D zfs-bash-tools-master/${pkgname}/udev/rules.d/99-max-autobackup.rules  ../pkg/${pkgname}/etc/udev/rules.d/99-${pkgname}.rules
}

# vim: ft=bash
..