~alpine/aports

testing/input-wacom: new aport v1 PROPOSED

Adnan Maolood <me@adnano.co>
Adnan Maolood: 1
 testing/input-wacom: new aport

 1 files changed, 40 insertions(+), 0 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.alpinelinux.org/~alpine/aports/patches/3502/mbox | git am -3
Learn more about email & git

[PATCH] testing/input-wacom: new aport Export this patch

Adnan Maolood <me@adnano.co>
https://github.com/linuxwacom/input-wacom
Linux kernel driver for Wacom devices
---
 testing/input-wacom/APKBUILD | 40 ++++++++++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)
 create mode 100644 testing/input-wacom/APKBUILD

diff --git a/testing/input-wacom/APKBUILD b/testing/input-wacom/APKBUILD
new file mode 100644
index 0000000000..2f1345ba54
--- /dev/null
+++ b/testing/input-wacom/APKBUILD
@@ -0,0 +1,40 @@
# Contributor: Adnan Maolood <me@adnano.co>
# Maintainer: Adnan Maolood <me@adnano.co>
pkgname=input-wacom
pkgver=0.47.0
pkgrel=0
pkgdesc="Linux kernel driver for Wacom devices"
url="https://github.com/linuxwacom/input-wacom"
arch="all"
license="GPL-2.0-only"

_flavor=${FLAVOR:-lts}
_kpkg=linux-$_flavor
_kver=5.10.33
_krel=0

_kpkgver="$_kver-r$_krel"

depends="$_kpkg=$_kpkgver"
makedepends="$_kpkg-dev=$_kpkgver"
source="https://github.com/linuxwacom/input-wacom/releases/download/input-wacom-$pkgver/input-wacom-$pkgver.tar.bz2"

build() {
	./configure
	make
}

check() {
	make check
}

package() {
	ver=4.5
	kabi="$_kver-$_krel-$_flavor"
	mkdir -p "$pkgdir"/lib/modules/"$kabi"
	mv "$ver"/wacom.ko "$ver"/wacom_w8001.ko "$pkgdir"/lib/modules/"$kabi"
}

sha512sums="
66fc8a50f2f6f9e8df02f301a020f0f688e31ff5a5b38e0f932fb6cf3bb4c6be82f986c615844a2c4916e562876d8c4c3e7480062923f755188de7f4e11af0cb  input-wacom-0.47.0.tar.bz2
"
-- 
2.31.1