void-packages/srcpkgs/tp_smapi-dkms/template

24 lines
778 B
Bash

# Template file for 'tp_smapi-dkms'
pkgname=tp_smapi-dkms
version=0.43
revision=2
archs="i686* x86_64*"
wrksrc=tp_smapi-${version}
short_desc="IBM ThinkPad hardware functions driver"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="GPL-2.0-or-later"
homepage="http://www.thinkwiki.org/wiki/Tp_smapi"
distfiles="https://github.com/evgeni/tp_smapi/releases/download/tp-smapi%2F${version}/tp_smapi-${version}.tgz"
checksum=bcef9cd045d52a74d719b2a67ac4f5324994a856f123c0fbc55f1d769d367110
dkms_modules="tp_smapi ${version}"
depends="dkms"
do_install() {
vmkdir usr/src/tp_smapi-${version}
vcopy "*.c" usr/src/tp_smapi-${version}
vcopy "*.h" usr/src/tp_smapi-${version}
vcopy Makefile usr/src/tp_smapi-${version}
vcopy ${FILESDIR}/dkms.conf usr/src/tp_smapi-${version}
}