Name tslib
Description Touchscreen Access Library
Version 1.24-1
Package Base tslib
Homepage https://github.com/kergoth/tslib
Maintainers ['Antonio Rojas <arojas@archlinux.org>']
Contributors []
Distro-repo https://gitlab.archlinux.org/archlinux/packaging/packages/tslib
Sources ['git+https://github.com/kergoth/tslib#tag=1.24?signed']
Dependencies ['glibc']
Optional-Dependencies []
Build-Dependencies ['git']
Provides []
Builddate 05-11-2025 22:42:03
Architecture x86_64
Distro-Version
Licenses ['LGPL-2.1-only']
Hash 8b32452dc81f79e48c1dfbf1bd594a3ba37cd8d06bb05a47817b2c22aed2ff3d
# Maintainer: Antonio Rojas <arojas@archlinux.org>

pkgname=tslib
pkgver=1.24
pkgrel=1
pkgdesc="Touchscreen Access Library"
arch=(x86_64)
url="https://github.com/kergoth/tslib"
license=(LGPL-2.1-only)
depends=(glibc)
makedepends=(git)
source=(git+https://github.com/kergoth/tslib#tag=$pkgver?signed)
sha256sums=('28f8be6333243dae15ef097ac0a16509003794aef038577b800f2fd2a0782387')
validpgpkeys=(F2082B880F9E423934686E3F500398DF5AB387D3) # Martin Kepplinger <martink@posteo.de>

prepare() {
  cd $pkgname
  autoreconf -fiv
}

build() {
  cd $pkgname
  ./configure \
    --prefix=/usr \
    --sysconfdir=/etc
  make
}

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