2020-01-03 06:54:37 +00:00
|
|
|
# Maintainer: Blaž Hrastnik <blaz@mxxn.io>
|
|
|
|
|
|
|
|
pkgname=surface-aggregator-module-dkms
|
|
|
|
_modname=surface_sam
|
|
|
|
_modver=0.1
|
|
|
|
pkgver=0.1
|
|
|
|
pkgrel=1
|
|
|
|
pkgdesc="ACPI/Platform Drivers for Surface gen5+ products, dkms version"
|
|
|
|
arch=(any)
|
|
|
|
url="http://github.com/linux-surface/surface-aggregator-module"
|
|
|
|
license=('GPL2')
|
|
|
|
provides=('surface_sam')
|
|
|
|
depends=('dkms')
|
|
|
|
_srcname=source
|
|
|
|
_srcbranch='master'
|
|
|
|
source=(
|
|
|
|
"$_srcname::git+https://github.com/linux-surface/surface-aggregator-module.git#branch=$_srcbranch"
|
2020-01-05 10:44:15 +00:00
|
|
|
surface-sam.conf
|
|
|
|
)
|
|
|
|
sha256sums=(
|
|
|
|
'SKIP'
|
|
|
|
'a1fe1e49bfcbb7a2e24ceeeb1fc0e8f36d5cc577b4ef5ae17f15a007a91e2860'
|
2020-01-03 06:54:37 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd ${srcdir}/${_srcname}/
|
|
|
|
|
|
|
|
install -d "${pkgdir}"/usr/src/${_modname}-${_modver}/
|
|
|
|
cp -t "${pkgdir}"/usr/src/${_modname}-${_modver}/ module/*
|
2020-01-05 10:44:15 +00:00
|
|
|
|
|
|
|
# blacklist the precompiled modules
|
|
|
|
install -Dt "${pkgdir}"/etc/modprobe.d/surface-sam.conf -m644 surface-sam.conf
|
2020-01-03 06:54:37 +00:00
|
|
|
}
|