# Maintainer: Craig Comstock <craig@unreasonablefarm.org>
pkgname=gesture
pkgver=0.7
pkgrel=0
pkgdesc="handwriting algorithm with implementation for linux touchscreens injecting keys into a tty"
url="https://gitlab.com/unrznbl/gesture"
arch="all"
license="GPL-3.0-only"
makedepends="linux-headers"
install="$pkgname.post-install $pkgname.pre-deinstall"
options="!check"
source="https://gitlab.com/unrznbl/gesture/-/archive/v$pkgver/gesture-v$pkgver.tar.gz"
builddir="$srcdir/gesture-v$pkgver"

build() {
	make all
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="
f05eae4dded079eed6fd7b362485bec6400f18f4e9cf2a42ee80a378d0f9de7d85b8afc5671a349f5dee85ea92b1281415158ae85abd160668ad13aa8e3a46a1  gesture-v0.7.tar.gz
"