tromjaro-autosnap-package/PKGBUILD
2022-09-16 23:47:31 +02:00

25 lines
538 B
Bash

# Maintainer: TROM <contact@tromsite.com>
pkgname=tromjaro-autosnap-hook
pkgver=1.1.0
pkgrel=1
pkgdesc="A hook to create backups before important updates, using Timeshift."
arch=(any)
url=""
license=(unknown)
depends=('timeshift-autosnap-manjaro')
provides=('tromjaro-autosnap-hook')
backup=()
options=(!strip)
prepare() {
cp -R ../alpm-hooks .
}
package() {
# copy alpm hooks
install -d ${pkgdir}/etc/pacman.d/hooks/
install -Dm644 ${srcdir}/alpm-hooks/* ${pkgdir}/etc/pacman.d/hooks/
}