2021-07-22 01:06:51 +02:00
|
|
|
# Contributor: Jakub Jirutka <jakub@jirutka.cz>
|
|
|
|
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
|
|
|
|
pkgname=kernel-hooks
|
2021-08-08 23:00:30 +02:00
|
|
|
pkgver=0.2
|
2024-09-09 13:19:30 -07:00
|
|
|
pkgrel=1
|
2021-07-22 01:06:51 +02:00
|
|
|
pkgdesc="Run user-provided hooks when /lib/modules/* is updated"
|
|
|
|
url="https://gitlab.alpinelinux.org/alpine/aports/"
|
|
|
|
arch="noarch"
|
|
|
|
license="MIT"
|
2024-09-09 13:19:30 -07:00
|
|
|
triggers="$pkgname.trigger=/lib/modules/*:/usr/lib/modules/*"
|
2021-07-22 01:06:51 +02:00
|
|
|
source="README"
|
|
|
|
options="!check" # no tests
|
|
|
|
|
|
|
|
package() {
|
|
|
|
install -D -m644 "$srcdir"/README "$pkgdir"/etc/kernel-hooks.d/README
|
|
|
|
}
|
|
|
|
|
|
|
|
sha512sums="
|
|
|
|
757a49dc238ce69210219ad7db9a6ebcd14d696d29d1e52dd57d8ce891aac5218aedbb95d1c73bb60f782d586c837ac100cd347b01c64116c41aa873ac7ff67d README
|
|
|
|
"
|