Received: from out1.migadu.com (out1.migadu.com [91.121.223.63]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTPS id 77124782C7D for <~alpine/aports@lists.alpinelinux.org>; Sun, 2 May 2021 18:03:59 +0000 (UTC) X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=adnano.co; s=key1; t=1619978638; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=ImKP5VYl2enpAdIgR+nfZriBJkRodDW/C9YWGO2CHFY=; b=MBRE3Ym3DdUezGTr7k8U6jt4vwwJ69/OU1C2mFaPmOjAi4JJ+TDJo5kIIpN5fyFMH1bOQi i2uQQy2MNfvwaDEhbbRJJfJnL8vDl61JMu9JCgd00mEhzVvVTUByMoGWaYZhvNM2D8UMKe C3FDe+DoPUYYBtwGTPIvBGdeb9Os9ipx5DU5rDfLR3pMiJPkPAEsu3FSbuT2VKsSV30hBo 78CDvsp/oe2uju0arKQlf+00rAHgtbt1mJ4TrnaYmZx4UHneely9/kExnLjEvCioQ5ie75 gaC9d0mpO6nTWL1qyCtA1A8x7HhYe0GmGAyjr/vqy8doFqWLzk4Hc+nHUFJrbg== From: Adnan Maolood To: ~alpine/aports@lists.alpinelinux.org Cc: Adnan Maolood Subject: [PATCH] testing/input-wacom: new aport Date: Sun, 2 May 2021 14:03:07 -0400 Message-Id: <20210502180306.4448-1-me@adnano.co> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: 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 +# Maintainer: Adnan Maolood +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