# Maintainer: Jonathan Kirszling # Info: https://github.com/johnramsden/zectl/issues/16 pkgname=zectl-pacman-hook pkgrel=1 pkgver=0.1.3 pkgdesc="Automate boot environment creation and rotation before kernel upgrade" arch=('any') url="https://github.com/eoli3n/$pkgname" license=('UNLICENSE') depends=('zectl') install="INSTALL" source=("10-zectl-pre.hook" "zectl-prune" "UNLICENSE") sha256sums=("9e212d633cb87ac2789ece3c5a86db6a93f266327db8a360e882dfd9583ac0c9" "836816615a87b7497bd7386b6e2871052170cbf2045aad1394fdae9fcf3bb5ed" "d3c4f1607c9488b22732511b83e6f6173d82499c0678c899666ca12c36517f72") package() { install -Dm644 '10-zectl-pre.hook' "${pkgdir}/usr/share/libalpm/hooks/10-zectl-pre.hook" install -Dm755 'zectl-prune' "${pkgdir}/usr/share/libalpm/scripts/zectl-prune" install -Dm644 'UNLICENSE' "${pkgdir}/usr/share/licenses/${pkgname}/UNLICENSE" }