Initial release
This commit is contained in:
commit
49fd4a4c05
18
.SRCINFO
Normal file
18
.SRCINFO
Normal file
@ -0,0 +1,18 @@
|
||||
pkgbase = digimend-kernel-drivers-dkms
|
||||
pkgdesc = Linux kernel modules (DKMS) for non-Wacom USB graphics tablets
|
||||
pkgver = 10
|
||||
pkgrel = 1
|
||||
url = https://digimend.github.io
|
||||
install = digimend-kernel-drivers-dkms.install
|
||||
arch = any
|
||||
license = GPL2
|
||||
depends = dkms
|
||||
depends = systemd
|
||||
depends = xf86-input-wacom
|
||||
conflicts = digimend-kernel-drivers-dkms-git
|
||||
source = digimend-kernel-drivers-dkms-v10.tar.gz::https://github.com/DIGImend/digimend-kernel-drivers/archive/refs/tags/v10.tar.gz
|
||||
source = Makefile
|
||||
sha256sums = 3f4c1e2f66b2c1b12a0895dfdf0fe567381ea92cfe7d62ab4645242dd4e98152
|
||||
sha256sums = 4fe525276fd3c962826ff01c83ed4be64b7c343b8b306f2da4868c0472a8f3be
|
||||
|
||||
pkgname = digimend-kernel-drivers-dkms
|
17
Makefile
Normal file
17
Makefile
Normal file
@ -0,0 +1,17 @@
|
||||
obj-m := \
|
||||
hid-kye.o \
|
||||
hid-uclogic.o \
|
||||
hid-polostar.o \
|
||||
hid-viewsonic.o
|
||||
|
||||
hid-uclogic-y := \
|
||||
hid-uclogic-core.o \
|
||||
hid-uclogic-rdesc.o \
|
||||
hid-uclogic-params.o
|
||||
|
||||
all:
|
||||
make -C /lib/modules/$(KVERSION)/build M=$(PWD) modules
|
||||
|
||||
clean:
|
||||
make -C /lib/modules/$(KVERSION)/build M=$(PWD) clean
|
||||
|
44
PKGBUILD
Normal file
44
PKGBUILD
Normal file
@ -0,0 +1,44 @@
|
||||
# Maintainer: Andrew Kotsyuba <avallach2000@gmail.com>
|
||||
|
||||
_pkgbase=digimend-kernel-drivers
|
||||
_dkmsbase=digimend
|
||||
pkgname=digimend-kernel-drivers-dkms
|
||||
pkgver=10
|
||||
pkgrel=1
|
||||
pkgdesc='Linux kernel modules (DKMS) for non-Wacom USB graphics tablets'
|
||||
arch=('any')
|
||||
url='https://digimend.github.io'
|
||||
license=('GPL2')
|
||||
depends=('dkms' 'systemd' 'xf86-input-wacom')
|
||||
conflicts=("${pkgname}-git")
|
||||
source=(
|
||||
"${pkgname}-v${pkgver}.tar.gz::https://github.com/DIGImend/${_pkgbase}/archive/refs/tags/v${pkgver}.tar.gz"
|
||||
"Makefile"
|
||||
)
|
||||
sha256sums=(
|
||||
'3f4c1e2f66b2c1b12a0895dfdf0fe567381ea92cfe7d62ab4645242dd4e98152'
|
||||
'4fe525276fd3c962826ff01c83ed4be64b7c343b8b306f2da4868c0472a8f3be'
|
||||
)
|
||||
install="${pkgname}.install"
|
||||
|
||||
package() {
|
||||
cd "${srcdir}/${_pkgbase}-${pkgver}"
|
||||
|
||||
install -Dm 0755 digimend-debug "${pkgdir}/usr/bin/digimend-debug"
|
||||
install -Dm 0755 hid-rebind "${pkgdir}/usr/bin/hid-rebind"
|
||||
|
||||
install -Dm 0644 xorg.conf "${pkgdir}/etc/X11/xorg.conf.d/50-digimend.conf"
|
||||
install -Dm 0644 depmod.conf "${pkgdir}/etc/depmod.d/digimend.conf"
|
||||
install -Dm 0644 udev.rules "${pkgdir}/etc/udev/rules.d/90-hid-rebind.rules"
|
||||
|
||||
install -dm 0755 "${pkgdir}/usr/src/${_dkmsbase}-${pkgver}"
|
||||
install -dm 0755 "${pkgdir}/usr/src/${_dkmsbase}-${pkgver}/usbhid"
|
||||
|
||||
install -Dm 0644 dkms.conf "${pkgdir}/usr/src/${_dkmsbase}-${pkgver}/dkms.conf"
|
||||
|
||||
for f in {usbhid/,}*.[ch] ; do
|
||||
install -Dm 0644 "$f" "${pkgdir}/usr/src/${_dkmsbase}-${pkgver}/${f}"
|
||||
done
|
||||
|
||||
install -Dm 0644 "${srcdir}/Makefile" "${pkgdir}/usr/src/${_dkmsbase}-${pkgver}/Makefile"
|
||||
}
|
7
digimend-kernel-drivers-dkms.install
Normal file
7
digimend-kernel-drivers-dkms.install
Normal file
@ -0,0 +1,7 @@
|
||||
post_install() {
|
||||
udevadm control --reload-rules
|
||||
}
|
||||
|
||||
post_remove() {
|
||||
udevadm control --reload-rules
|
||||
}
|
Loading…
Reference in New Issue
Block a user