void-packages/srcpkgs/ddcci-dkms/template

21 lines
733 B
Bash

# Template file for 'ddcci-dkms'
pkgname=ddcci-dkms
version=0.4.1
revision=1
wrksrc="ddcci-driver-linux-v${version}"
makedepends="linux-headers kmod"
depends="dkms"
short_desc="Pair of Linux kernel drivers for DDC/CI monitors (DKMS)"
maintainer="Iskander Zemmouri <iskander.zemmouri@mailbox.org>"
license="GPL-2.0-or-later"
homepage="https://gitlab.com/ddcci-driver-linux/ddcci-driver-linux/"
distfiles="https://gitlab.com/ddcci-driver-linux/ddcci-driver-linux/-/archive/v${version}/ddcci-driver-linux-v${version}.tar.gz"
checksum=518859ebb0e553a333e8b19a2eccff0f48af1b5b91469678dfb74f1b4357893b
dkms_modules="ddcci ${version}"
do_install() {
vmkdir usr/src/ddcci-${version}
vcopy "*" usr/src/ddcci-${version}
vdoc "README.md"
}