aboutsummaryrefslogtreecommitdiffstats
path: root/testing/libinput/APKBUILD
blob: 9c20a1f46ff4831d76734c506d479de60d783fb1 (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.0
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"
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="643d21c63d5dcc2d73de3d573e9f7538  libinput-1.4.0.tar.xz"
sha256sums="76ef10874519d1a67b57e5c68ede06106b9fbf611a3ecf69c84886107c67b420  libinput-1.4.0.tar.xz"
sha512sums="1b9922c5f528df5dbcaa8ed5376c8b36a0e3f5108a9012fc2e3811ff9fdab7c814fc63c4c0404ac26cbf925db45a6fbd8c7bf5ec288a795b2e7123c315b20765  libinput-1.4.0.tar.xz"