void-packages/srcpkgs/tp_smapi-dkms/template
maxice8 d2eb199ebd
ports-wide: remove all occurrences of triggers="dkms"
There is no need for triggers="dkms" since having dkms_modules="" set
also adds the dkms trigger automatically.

This occoured problably since one template did it and everyone else
just copied it (understandable since dkms_modules is not documented)

[ci skip]
2018-08-20 08:34:30 -03:00

24 lines
796 B
Bash

# Template file for 'tp_smapi-dkms'
pkgname=tp_smapi-dkms
version=0.43
revision=1
wrksrc=tp_smapi-${version}
only_for_archs="i686 i686-musl x86_64 x86_64-musl"
short_desc="IBM ThinkPad hardware functions driver"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="GPL-2"
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}
}