25 lines
867 B
Bash
25 lines
867 B
Bash
# Template file for 'dkms'
|
|
pkgname=dkms
|
|
version=2.5
|
|
revision=1
|
|
conf_files="/etc/dkms/framework.conf"
|
|
depends="bash kmod gcc make coreutils linux-headers"
|
|
homepage="https://github.com/dell/dkms"
|
|
distfiles="${homepage}/archive/v${version}.tar.gz"
|
|
short_desc="Dynamic Kernel Modules System"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
license="GPL-2"
|
|
checksum=c635db498263acfd8c5c21c85b3a795b4d22b8e4c3ae791648affd135d458ac2
|
|
|
|
do_install() {
|
|
# We are only interested in the bare minimum.
|
|
vbin dkms
|
|
vman dkms.8
|
|
vinstall dkms_dbversion 644 var/lib/dkms
|
|
vinstall dkms.bash-completion 644 usr/share/bash-completion/completions dkms
|
|
vinstall dkms_framework.conf 644 etc/dkms framework.conf
|
|
# Kernel hooks.
|
|
vinstall ${FILESDIR}/kernel.d/dkms.postinst 750 etc/kernel.d/post-install 10-dkms
|
|
vinstall ${FILESDIR}/kernel.d/dkms.prerm 750 etc/kernel.d/pre-remove 10-dkms
|
|
}
|