diff options
author | Emil Suleymanov | 2022-05-26 15:59:07 +0200 |
---|---|---|
committer | Emil Suleymanov | 2022-05-26 15:59:07 +0200 |
commit | 8de0c05b5b0608c54d8a929a12313cb2b8407db3 (patch) | |
tree | 579e63067fb04b3cb71e53641293a8239766ff8a | |
parent | b7d2dbf948dd4cab85138a0c218a0cf84e83a1ff (diff) | |
download | aur-spi-ch341-usb-dkms.tar.gz |
Use repo from dimich-dmb
-rw-r--r-- | .SRCINFO | 10 | ||||
-rw-r--r-- | 0001-Arch-compatible-paths-for-kernel-headers-modules.patch | 27 | ||||
-rw-r--r-- | PKGBUILD | 11 |
3 files changed, 8 insertions, 40 deletions
@@ -1,17 +1,15 @@ pkgbase = spi-ch341-usb-dkms pkgdesc = SPI/GPIO driver for CH341 - pkgver = r45.cfb61d0 - pkgrel = 2 - url = https://github.com/rogerjames99/spi-ch341-usb + pkgver = r34.af6fb1b + pkgrel = 3 + url = https://github.com/dimich-dmb/spi-ch341-usb arch = any license = GPL makedepends = git - source = git+https://github.com/rogerjames99/spi-ch341-usb.git - source = 0001-Arch-compatible-paths-for-kernel-headers-modules.patch + source = git+https://github.com/dimich-dmb/spi-ch341-usb.git source = 50-spi_ch341_usb.rules source = spi_ch341_usb_setup.sh sha256sums = SKIP - sha256sums = 75041421dbbf41b35c8f7a3992d601ca304c129ca9b9f348d575c57999f3cbc0 sha256sums = f17a1941b599fdae84584be239905c76a81dbc17d4ed575c0b134112c6da2982 sha256sums = 41f03bfd96efed8b968ef1f695f18121cdbbc6af27212060a30274f1a1984544 diff --git a/0001-Arch-compatible-paths-for-kernel-headers-modules.patch b/0001-Arch-compatible-paths-for-kernel-headers-modules.patch deleted file mode 100644 index 9e30ff5d4ad0..000000000000 --- a/0001-Arch-compatible-paths-for-kernel-headers-modules.patch +++ /dev/null @@ -1,27 +0,0 @@ -From 14ecae90765a25385c2f8b1d648478ca021ec460 Mon Sep 17 00:00:00 2001 -From: Emil Suleymanov <suleymanovemil8@gmail.com> -Date: Thu, 26 May 2022 13:00:02 +0200 -Subject: [PATCH] Arch compatible paths for kernel headers/modules - ---- - Makefile | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/Makefile b/Makefile -index fcb6c8a..340760e 100644 ---- a/Makefile -+++ b/Makefile -@@ -4,8 +4,8 @@ MODULE_VERSION=1.0.0 - DKMS := $(shell which dkms) - PWD := $(shell pwd) - KVERSION := $(shell uname -r) --KERNEL_DIR = /usr/src/linux-headers-$(KVERSION)/ --MODULE_DIR = /lib/modules/$(KVERSION) -+KERNEL_DIR = /usr/lib/modules/$(KVERSION)/build -+MODULE_DIR = /usr/lib/modules/$(KVERSION)/ - - ifneq ($(DKMS),) - MODULE_INSTALLED := $(shell dkms status $(MODULE_NAME)) --- -2.36.1 - @@ -1,30 +1,27 @@ pkgname=spi-ch341-usb-dkms -pkgver=r45.cfb61d0 +pkgver=r34.af6fb1b pkgver() { cd "$srcdir/spi-ch341-usb" printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" } -pkgrel=2 +pkgrel=3 pkgdesc="SPI/GPIO driver for CH341" arch=(any) -url="https://github.com/rogerjames99/spi-ch341-usb" +url="https://github.com/dimich-dmb/spi-ch341-usb" license=('GPL') groups=() depends=() makedepends=('git') -source=('git+https://github.com/rogerjames99/spi-ch341-usb.git' - '0001-Arch-compatible-paths-for-kernel-headers-modules.patch' +source=('git+https://github.com/dimich-dmb/spi-ch341-usb.git' '50-spi_ch341_usb.rules' 'spi_ch341_usb_setup.sh') sha256sums=('SKIP' - '75041421dbbf41b35c8f7a3992d601ca304c129ca9b9f348d575c57999f3cbc0' 'f17a1941b599fdae84584be239905c76a81dbc17d4ed575c0b134112c6da2982' '41f03bfd96efed8b968ef1f695f18121cdbbc6af27212060a30274f1a1984544') prepare() { cd "$srcdir"/spi-ch341-usb sed -i 's|/extras|/extramodules|' dkms.conf - patch -Np1 -i ../0001-Arch-compatible-paths-for-kernel-headers-modules.patch } package() { |