blob: 594b4b3edcb6eed90c476f0fc17a7387c9dbf155 (
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
|
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer:
pkgname=libinput
pkgver=1.1.7
pkgrel=0
pkgdesc="Library for handling input devices"
url="http://www.freedesktop.org/wiki/Software/libinput/"
arch="all"
license="custom"
depends=""
depends_dev="mtdev-dev eudev-dev libevdev-dev"
makedepends="$depends_dev"
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 \
|| return 1
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
}
md5sums="a501715a6135ac1f772bb5f3e3183481 libinput-1.1.7.tar.xz"
sha256sums="ad35e597795a3ee9f928edfaf5a6f724b106702ea316b17eb0a58ea6704e3d24 libinput-1.1.7.tar.xz"
sha512sums="b2d1d69abfb63dbfddbfe834117a63997b2f93531ca5cd45ffcc718200844ffda9bab0a12d8bae203f0abe2fcd3c1c8917929ee68c0f871a5574af008777c5d2 libinput-1.1.7.tar.xz"
|