aboutsummaryrefslogtreecommitdiffstats
path: root/main/libevdev/APKBUILD
blob: db358b6beb19f83363c7aafc653d552a4f9bb468 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libevdev
pkgver=1.5.5
pkgrel=0
pkgdesc="Kernel Evdev Device Wrapper Library"
url="https://www.freedesktop.org/wiki/Software/libevdev"
arch="all"
license="MIT"
depends=""
makedepends="python2 linux-headers"
subpackages="$pkgname-dev $pkgname-doc"
source="https://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 \
		--infodir=/usr/share/info \
		--localstatedir=/var \
		|| return 1
	make || return 1
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install || return 1
}

md5sums="ba3c6216e413cee1d36da7366393543c  libevdev-1.5.5.tar.xz"
sha256sums="320120782018b992956b3fa29495c323832860807ac8ea74537e636a0e0280b1  libevdev-1.5.5.tar.xz"
sha512sums="cab1679c51566c673839f001c499cd854d502fd365a962547560859658be677552c30ebecba30faebfac1b4da795d480cf494c9317906a81c27d1f2aef58b133  libevdev-1.5.5.tar.xz"