~alpine/aports

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch

[PATCH] testing/input-wacom: new aport

Adnan Maolood <me@adnano.co>
Details
Message ID
<20210502180306.4448-1-me@adnano.co>
DKIM signature
missing
Download raw message
Patch: +40 -0
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
Reply to thread Export thread (mbox)