blob: 960fb64d58a137d6d79379af98923b9c3eafb0fa (
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
31
32
33
34
35
36
37
38
39
40
|
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer:
pkgname=libinput
pkgver=1.4.1
pkgrel=0
pkgdesc="Library for handling input devices"
url="http://www.freedesktop.org/wiki/Software/libinput/"
arch="all"
license="custom"
depends=""
depends_dev=""
makedepends="mtdev-dev eudev-dev libevdev-dev grep"
install=""
subpackages="$pkgname-dev $pkgname-doc"
source="http://freedesktop.org/software/$pkgname/$pkgname-$pkgver.tar.xz"
_builddir="$srcdir"/$pkgname-$pkgver
build() {
cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--localstatedir=/var \
--disable-libwacom \
|| return 1
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
}
md5sums="2e7ba577ed74d8d1baeb07dbd4fb912a libinput-1.4.1.tar.xz"
sha256sums="26e7b3ab499358caba499705680ea7e5851af2bd37dc32f2be64181610d6392a libinput-1.4.1.tar.xz"
sha512sums="4f5c580db54c12e85f24356ffa1b10ee2322c769da707393900a089ea6b71ce5bbb1786e8a8ee544f2ee52d0974a410ed5756cb7b6a6570a66f84420315df2e2 libinput-1.4.1.tar.xz"
|