Browse Source

Move Arch surface-aggregator PKGBUILD to surface-aggregator module

Maximilian Luz 5 years ago
parent
commit
21bdb9deac

+ 0 - 3
pkg/arch/surface-aggregator-module/.gitignore

@@ -1,3 +0,0 @@
-pkg
-src
-source

+ 0 - 33
pkg/arch/surface-aggregator-module/PKGBUILD

@@ -1,33 +0,0 @@
-# Maintainer: Blaž Hrastnik <blaz@mxxn.io>
-
-pkgname=surface-aggregator-module-dkms
-_modname=surface_sam
-_modver=0.1
-pkgver=0.1
-pkgrel=2
-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"
-  surface-sam.conf
-)
-sha256sums=(
-  'SKIP'
-  'a1fe1e49bfcbb7a2e24ceeeb1fc0e8f36d5cc577b4ef5ae17f15a007a91e2860'
-)
-
-package() {
-  cd ${srcdir}/${_srcname}/
-
-  install -d "${pkgdir}"/usr/src/${_modname}-${_modver}/
-  cp -t "${pkgdir}"/usr/src/${_modname}-${_modver}/ module/*
-
-  # blacklist the precompiled modules
-  install -Dt "${pkgdir}"/etc/modprobe.d -m644 ${srcdir}/surface-sam.conf
-}

+ 0 - 1
pkg/arch/surface-aggregator-module/README.md

@@ -1 +0,0 @@
-Builds the ACPI module as a DKMS module. Useful for testers or advanced users.

+ 0 - 9
pkg/arch/surface-aggregator-module/surface-sam.conf

@@ -1,9 +0,0 @@
-blacklist surface_sam_ssh
-blacklist surface_sam_san
-blacklist surface_sam_vhf
-blacklist surface_sam_dtx
-blacklist surface_sam_hps
-blacklist surface_sam_sid
-blacklist surface_sam_sid_gpelid
-blacklist surface_sam_sid_perfmode
-blacklist surface_sam_sid_vhf