APKBUILD 960 Bytes
Newer Older
Sören Tempel's avatar
Sören Tempel committed
1
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
2
# Maintainer: Daniel Sabogal <dsabogalcc@gmail.com>
Sören Tempel's avatar
Sören Tempel committed
3
pkgname=libinput
4
pkgver=1.6.3
Sören Tempel's avatar
Sören Tempel committed
5 6 7 8 9 10
pkgrel=0
pkgdesc="Library for handling input devices"
url="http://www.freedesktop.org/wiki/Software/libinput/"
arch="all"
license="custom"
depends=""
11
makedepends="mtdev-dev eudev-dev libevdev-dev grep"
Sören Tempel's avatar
Sören Tempel committed
12
subpackages="$pkgname-dev $pkgname-doc"
13
options="!check"
Sören Tempel's avatar
Sören Tempel committed
14 15
source="http://freedesktop.org/software/$pkgname/$pkgname-$pkgver.tar.xz"

16
builddir="$srcdir/$pkgname-$pkgver"
Sören Tempel's avatar
Sören Tempel committed
17
build() {
18
	cd "$builddir"
Sören Tempel's avatar
Sören Tempel committed
19 20 21 22 23 24 25
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var \
26
		--disable-libwacom \
Sören Tempel's avatar
Sören Tempel committed
27
		|| return 1
28
	make
Sören Tempel's avatar
Sören Tempel committed
29 30 31
}

package() {
32
	make DESTDIR="$pkgdir" -C "$builddir" install
Sören Tempel's avatar
Sören Tempel committed
33 34
}

35
sha512sums="be1ab191b5605943d6f46a5fee7af9ecba83ab30ba3d38b6ec136980f2183f6dcb5aaf048aa81a096c4f51b6de05bebc83b4ffa29a0574752062a994f377aa5f  libinput-1.6.3.tar.xz"