subrepo:
  subdir:   "digimend-drivers-git-dkms"
  merged:   "1693a1a"
upstream:
  origin:   "https://aur.archlinux.org/digimend-drivers-git-dkms"
  branch:   "master"
  commit:   "1693a1a"
git-subrepo:
  version:  "0.4.1"
  origin:   "???"
  commit:   "???"
This commit is contained in:
Gabriel Ebner 2020-12-26 23:06:08 +01:00
parent cf9c0e8553
commit 3c3a56b4b4
3 changed files with 73 additions and 0 deletions

@ -0,0 +1,18 @@
pkgbase = digimend-drivers-git-dkms
pkgdesc = Linux kernel modules (DKMS) for non-Wacom USB graphics tablets. Git version.
pkgver = 10.r0.gec5c16d
pkgrel = 1
url = https://digimend.github.io
arch = any
license = GPL2
makedepends = git
depends = dkms
optdepends = xf86-input-wacom: for xorg wacom driver support
provides = digimend-kernel-drivers
conflicts = digimend-kernel-drivers
conflicts = digimend-kernel-drivers-dkms
source = git+https://github.com/DIGImend/digimend-kernel-drivers.git
md5sums = SKIP
pkgname = digimend-drivers-git-dkms

@ -0,0 +1,12 @@
; DO NOT EDIT (unless you know what you are doing)
;
; This subdirectory is a git "subrepo", and this file is maintained by the
; git-subrepo command. See https://github.com/git-commands/git-subrepo#readme
;
[subrepo]
remote = https://aur.archlinux.org/digimend-drivers-git-dkms
branch = master
commit = 1693a1a6f939b9021b2a1646aa555ce3a7d2d799
parent = cf9c0e8553f3adc46a5314281f68ea551cfa06a7
method = merge
cmdver = 0.4.1

@ -0,0 +1,43 @@
# Maintainer: Pietro Carrara <pbcarrara@inf.ufrgs.br>
pkgname=digimend-drivers-git-dkms
pkgver=10.r0.gec5c16d
pkgrel=1
pkgdesc='Linux kernel modules (DKMS) for non-Wacom USB graphics tablets. Git version.'
arch=('any')
url='https://digimend.github.io'
license=('GPL2')
depends=('dkms')
optdepends=('xf86-input-wacom: for xorg wacom driver support')
makedepends=('git')
conflicts=(digimend-kernel-drivers digimend-kernel-drivers-dkms)
provides=(digimend-kernel-drivers)
source=('git+https://github.com/DIGImend/digimend-kernel-drivers.git')
md5sums=('SKIP')
pkgver() {
cd digimend-kernel-drivers
git describe --long | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
package() {
cd digimend-kernel-drivers
# Udev rules
install -D -m 0755 hid-rebind "$pkgdir"/etc/udev/rules.d/hid-rebind
install -D -m 0644 udev.rules "$pkgdir"/etc/udev/rules.d/90-digimend.rules
# Use wacom drivers with supported tablets
install -D -m 0644 xorg.conf "$pkgdir"/usr/share/X11/xorg.conf.d/50-digimend.conf
# DKMS config
install -Dm644 dkms.conf "$pkgdir"/usr/src/digimend-${pkgver}/dkms.conf
# Depmod config
install -D -m 0644 depmod.conf "$pkgdir"/etc/depmod.d/digimend.conf
# Add source files to the DKMS tree
cp -r ./* "$pkgdir/usr/src/digimend-$pkgver"
}