void-packages/srcpkgs/ddcci-dkms/template

22 lines
678 B
Bash

# Template file for 'ddcci-dkms'
pkgname=ddcci-dkms
version=0.4.3
revision=1
depends="dkms"
short_desc="Pair of Linux kernel drivers for DDC/CI monitors (DKMS)"
maintainer="Orphaned <orphan@voidlinux.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=2c13fb0a66fea3fcd0070c7cce07ec3943550dee667f066562f810b8c2f01656
dkms_modules="ddcci ${version}"
do_install() {
vdoc README.md
rm LICENSE README.md
rm -f *.patch
vmkdir usr/src/ddcci-${version}
vcopy "*" usr/src/ddcci-${version}
}