summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorgituser2021-05-29 13:25:07 +0200
committergituser2021-05-29 13:41:20 +0200
commit3129ee0c74c339757b09ed46369a741185606d2a (patch)
tree99b2caa129b9a95e66a1b7e14ea753b2978fb3ab /PKGBUILD
downloadaur-goodix-gpdwin3-dkms.tar.gz
GPD Win3 Goodix dkms module
Diffstat (limited to 'PKGBUILD')
-rwxr-xr-xPKGBUILD29
1 files changed, 29 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100755
index 00000000000..4361517e8d4
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,29 @@
+# Maintainer: kylon
+
+_base=goodix
+_pkgbase=${_base}-gpdwin3
+pkgname=${_pkgbase}-dkms
+pkgver=1.0
+pkgrel=1
+pkgdesc="Goodix touchscreen driver hack for GPD WIN3"
+arch=('any')
+license=('GPL2')
+depends=('dkms')
+install=${pkgname}.install
+source=(
+ "goodix.c"
+ "dkms.conf"
+ "Makefile"
+)
+md5sums=('dfb7e11d9209b8512a10236d5ff39a2b'
+ 'e5c031710ce7c30e237655d52de0175b'
+ 'd33b0aa9a29b5f5b811e4869ee40e245')
+
+package() {
+ cd "$srcdir"
+ local install_dir="${pkgdir}/usr/src/${_pkgbase}-${pkgver}"
+ install -Dm644 dkms.conf "${install_dir}/dkms.conf"
+ install -Dm644 goodix.c "${install_dir}/goodix.c"
+ install -Dm644 Makefile "${install_dir}/Makefile"
+}
+