# Maintainer: Max Christian Pohle 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.gz") sha256sums=('8e9fda1fb852eae1605f7f53c1f98b57953357fa9077b57e699c26fbde6bd436') 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