aboutsummaryrefslogtreecommitdiffstats
path: root/main/xf86-input-evdev/APKBUILD
blob: 276aeb57e85a3fe658798f57bb7c11cdbc6e38ac (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xf86-input-evdev
pkgver=2.10.0
pkgrel=2
pkgdesc="X.org evdev input driver"
url="http://xorg.freedesktop.org/"
arch="all"
license="custom"
subpackages="$pkgname-doc $pkgname-dev"
depends=""
makedepends="libxkbfile-dev xorg-server-dev libxi-dev libxrandr-dev
	eudev-dev mtdev-dev libevdev-dev"
source="http://xorg.freedesktop.org/releases/individual/driver/$pkgname-$pkgver.tar.bz2"

_builddir="$srcdir"/$pkgname-$pkgver
build() {
	cd "$_builddir"
	export LDFLAGS="$LDFLAGS -Wl,-z,lazy"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		|| return 1
	make || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install || return 1
	install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
}

md5sums="b1183c55125981d346102d1be704760b  xf86-input-evdev-2.10.0.tar.bz2"
sha256sums="d097298eb07b7a9edf4493b5c3c058041458ca52c8c62dbd4f40b84c5086d117  xf86-input-evdev-2.10.0.tar.bz2"
sha512sums="b17e2f315b5291ccb234e2b9eeec9c32828091ca935fdc7463a75eccc7fcc9d465c88970c12d2128db6e0b49df23714c794fbaa5767e7b91ef58efb40aadaa30  xf86-input-evdev-2.10.0.tar.bz2"