aboutsummaryrefslogtreecommitdiffstats
path: root/testing/libinput/APKBUILD
blob: c3c5c46fbd829f9fc3551e23313b5f583ffb40c2 (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.2
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="634830eb423acd71262b23a13154f6f7  libinput-1.1.2.tar.xz"
sha256sums="a323a32718a8f0f5e85e1ed3a81f0dde45eb52b215a15c7887bec40961d97a84  libinput-1.1.2.tar.xz"
sha512sums="7babc1be1ad08915fb9cf361c99d9c91eea74cfd67cc5b7608f53dbcec8ed986cd9844e6a555a88c52687e7660a20ed3ff9342aba206125d7d4ba40019bb2127  libinput-1.1.2.tar.xz"