tromjaro-autosnap-package/PKGBUILD

25 lines
538 B
Bash
Raw Normal View History

2022-09-16 21:47:31 +00:00
# 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/
}