blob: ffcd33f9375704c1c4b76713df7699dbb21328a3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
# Contributor: Clayton Craft <clayton@craftyguy.net>
# Maintainer: Clayton Craft <clayton@craftyguy.net>
pkgname=tslib
pkgver=1.14
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="bee68935f5873f3d92276500e5074dba0ad50914c0c487db038d2784292ce902f2abc77e5695d49e10cb420571cc66e24629f17a8d78af34f78575dbdf36a7cf tslib-1.14.tar.xz"
|