25 lines
812 B
Bash
25 lines
812 B
Bash
# Template file for 'tp_smapi-dkms'
|
|
pkgname=tp_smapi-dkms
|
|
version=0.42
|
|
revision=3
|
|
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=7b8d9f488c3859805f1f292bf4d518cc5b32ebb69b0ebe96367d0852dd792d27
|
|
|
|
triggers="dkms"
|
|
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}
|
|
}
|