macbook12-spi-driver
This commit is contained in:
5 files changed
+5
No files matched your search
@@ -1,16 +0,0 @@
|
||||
pkgbase = macbook12-spi-driver-dkms
|
||||
pkgdesc = Driver for the keyboard, touchpad and touchbar found in newer MacBook (Pro) models
|
||||
pkgver = 0+git.315
|
||||
pkgrel = 1
|
||||
url = https://github.com/marc-git/macbook12-spi-driver
|
||||
arch = i686
|
||||
arch = x86_64
|
||||
license = GPL2
|
||||
makedepends = git
|
||||
depends = dkms
|
||||
source = git+https://github.com/marc-git/macbook12-spi-driver.git#branch=touchbar-driver-hid-driver
|
||||
source = dkms.conf
|
||||
sha256sums = SKIP
|
||||
sha256sums = e42243352d015a78e5d13260361d3052d0b84c4105bcb89191a319f2249cc47b
|
||||
|
||||
pkgname = macbook12-spi-driver-dkms
|
||||
@@ -1,4 +0,0 @@
|
||||
/src/
|
||||
/pkg/
|
||||
/*.tar.*
|
||||
/macbook12-spi-driver/
|
||||
@@ -1,37 +0,0 @@
|
||||
# Maintainer: Christoph Gysin <christoph.gysin@gmail.com>
|
||||
# Maintainer: Andrey Melentyev <andrey.melentyev@protonmail.com>
|
||||
_pkgbase=macbook12-spi-driver
|
||||
pkgname=(${_pkgbase}-dkms)
|
||||
pkgver=0+git.315
|
||||
pkgrel=1
|
||||
pkgdesc="Driver for the keyboard, touchpad and touchbar found in newer MacBook (Pro) models"
|
||||
arch=('i686' 'x86_64')
|
||||
url="https://github.com/marc-git/macbook12-spi-driver"
|
||||
license=('GPL2')
|
||||
depends=('dkms')
|
||||
makedepends=('git')
|
||||
optdepends=()
|
||||
source=(git+https://github.com/marc-git/macbook12-spi-driver.git#branch=touchbar-driver-hid-driver
|
||||
dkms.conf)
|
||||
sha256sums=('SKIP'
|
||||
'e42243352d015a78e5d13260361d3052d0b84c4105bcb89191a319f2249cc47b')
|
||||
|
||||
pkgver() {
|
||||
cd $_pkgbase
|
||||
echo "0+git.$(git rev-list HEAD --count)"
|
||||
}
|
||||
|
||||
package() {
|
||||
install -dm755 "${pkgdir}"/usr/src/${_pkgbase}-${pkgver}
|
||||
|
||||
# Copy sources (including Makefile)
|
||||
cp -r ${_pkgbase}/* "${pkgdir}"/usr/src/${_pkgbase}-${pkgver}/
|
||||
|
||||
# Copy dkms.conf over the original one from the repo
|
||||
install -Dm644 dkms.conf "${pkgdir}"/usr/src/${_pkgbase}-${pkgver}/dkms.conf
|
||||
|
||||
# Set name and version
|
||||
sed -e "s/@_PKGBASE@/${_pkgbase}/" \
|
||||
-e "s/@PKGVER@/${pkgver}/" \
|
||||
-i "${pkgdir}"/usr/src/${_pkgbase}-${pkgver}/dkms.conf
|
||||
}
|
||||
@@ -1,17 +0,0 @@
|
||||
PACKAGE_NAME="@_PKGBASE@"
|
||||
PACKAGE_VERSION="@PKGVER@"
|
||||
AUTOINSTALL="yes"
|
||||
CLEAN="make clean"
|
||||
|
||||
BUILT_MODULE_NAME[0]="applespi"
|
||||
BUILT_MODULE_NAME[1]="apple-ibridge"
|
||||
BUILT_MODULE_NAME[2]="apple-ib-tb"
|
||||
BUILT_MODULE_NAME[3]="apple-ib-als"
|
||||
MAKE[0]="make KDIR=/usr/lib/modules/$kernelver/build"
|
||||
MAKE[1]="make KDIR=/usr/lib/modules/$kernelver/build"
|
||||
MAKE[2]="make KDIR=/usr/lib/modules/$kernelver/build"
|
||||
MAKE[3]="make KDIR=/usr/lib/modules/$kernelver/build"
|
||||
DEST_MODULE_LOCATION[0]="/kernel/drivers/spi"
|
||||
DEST_MODULE_LOCATION[1]="/kernel/drivers/misc"
|
||||
DEST_MODULE_LOCATION[2]="/kernel/drivers/misc"
|
||||
DEST_MODULE_LOCATION[3]="/kernel/drivers/misc"
|
||||
Reference in new issue
Block a user