# Contributor: Clayton Craft # Maintainer: Clayton Craft pkgname=tslib pkgver=1.18 pkgrel=0 pkgdesc="Touchscreen Access Library" arch="all" url="https://github.com/kergoth/tslib" license="LGPL-2.0-or-later" makedepends="autoconf automake libtool linux-headers" source="https://github.com/kergoth/tslib/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.xz" subpackages="$pkgname-dev $pkgname-doc" builddir="${srcdir}/${pkgname}-${pkgver}" build() { ./autogen.sh ./configure --prefix=/usr --sysconfdir=/etc make } check() { cd "${builddir}" make check } package() { cd "${builddir}" make DESTDIR="${pkgdir}" install } sha512sums="50512b09e9abbe29860d0403069df376af4445682bf8dee1acb1ab6ba9e83595600d474b7811f974e7036bbb26855d964394b2431b821a1d0f9f151111e4fa3a tslib-1.18.tar.xz"