aboutsummarylogtreecommitdiffstats
path: root/PKGBUILD
blob: f537bc09a2426665700c3a8fc0dcd9448015325d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: Jonathan Kirszling <jkirsz@gmail.com>
# Info: https://github.com/johnramsden/zectl/issues/16
pkgname=zectl-pacman-hook
pkgrel=1
pkgver=0.1.2
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"
"b38b0b2fca33ce64d5c1e713feb3bd7d3a0e85fa8d5c4c5220edefc2a63440da"
"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"
}