diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 13 |
1 files changed, 10 insertions, 3 deletions
@@ -2,7 +2,7 @@ # Maintainer: Andrey Melentyev <andrey.melentyev@protonmail.com> _pkgbase=macbook12-spi-driver pkgname=(${_pkgbase}-dkms) -pkgver=0+git.190 +pkgver=0+git.304 pkgrel=1 pkgdesc="Driver for the keyboard, touchpad and touchbar found in newer MacBook (Pro) models" arch=('i686' 'x86_64') @@ -13,15 +13,22 @@ depends=('dkms') makedepends=('git') optdepends=() source=(git+https://github.com/roadrunner2/macbook12-spi-driver.git#branch=touchbar-driver-hid-driver - dkms.conf) + dkms.conf + linux-5.9.patch::https://github.com/PatrickVerner/macbook12-spi-driver/commit/5328c33cf2fc40208811cd6e191890537db6aeb4.diff) sha256sums=('SKIP' - 'e42243352d015a78e5d13260361d3052d0b84c4105bcb89191a319f2249cc47b') + 'e42243352d015a78e5d13260361d3052d0b84c4105bcb89191a319f2249cc47b' + '79b1782aef96c03d399e3c76617ee80c9df26269e87b0a454f97830581a44539') pkgver() { cd $_pkgbase echo "0+git.$(git rev-list HEAD --count)" } +prepare() { + cd $_pkgbase + patch -Np1 -i ${srcdir}/linux-5.9.patch +} + package() { install -dm755 "${pkgdir}"/usr/src/${_pkgbase}-${pkgver} |