dkms: update to 3.0.13.

This commit is contained in:
1is7ac3 2024-09-30 06:14:00 +00:00 committed by Andrew Benson
parent 71cfe592a1
commit f899b44d58
1 changed files with 6 additions and 7 deletions

View File

@ -1,7 +1,9 @@
# Template file for 'dkms'
pkgname=dkms
version=3.0.12
revision=2
version=3.0.13
revision=1
build_style=gnu-makefile
make_build_args="all"
conf_files="/etc/dkms/framework.conf /etc/default/dkms"
depends="bash kmod gcc bc make coreutils pahole xbps-triggers>=0.123_1"
short_desc="Dynamic Kernel Module Support"
@ -9,7 +11,7 @@ maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="https://github.com/dell/dkms"
distfiles="https://github.com/dell/dkms/archive/v${version}.tar.gz"
checksum=b1b0205973371bda2f963d67056034d060001ab012f98a0dbf9fcb4145534302
checksum=ceb5bbb89ece7310ee96952a56c926faa51c4486f7e5e43c8589585056e45bb5
# dkms does not create this directory, but needs it
# https://github.com/void-linux/void-packages/issues/39066
make_dirs="/var/lib/dkms 0755 root root"
@ -24,15 +26,12 @@ if [ "$CROSS_BUILD" ]; then
depends+=" openssl-devel gmp-devel libada-devel libmpc-devel flex"
fi
do_build() {
make dkms dkms.8
}
do_install() {
# We are only interested in the bare minimum.
vbin dkms
vman dkms.8
vcompletion dkms.bash-completion bash dkms
vcompletion dkms.zsh-completion zsh dkms
vinstall dkms_framework.conf 644 etc/dkms framework.conf
# Kernel hooks.
vinstall "${FILESDIR}/kernel.d/dkms.postinst" 754 etc/kernel.d/post-install 10-dkms