aboutsummaryrefslogtreecommitdiffstats
path: root/main/xf86-input-evdev/APKBUILD
blob: 4b29a471be99bc88bd41cf34fdaff6e5a54c9b93 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xf86-input-evdev
pkgver=2.10.4
pkgrel=0
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 \
		--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="0f209d13b39427c1a6d38d70059b1e8f  xf86-input-evdev-2.10.4.tar.bz2"
sha256sums="bbf6a03fbce1a6c0c7d874eef519fd0a854bf01b515c745d41fa551ce6490cc2  xf86-input-evdev-2.10.4.tar.bz2"
sha512sums="36f5cb1db79d855c2237eadbf4a0758f1a53de695e7f10de828b0bd5e26b0612bea6f5db1266b8db79350b63a7ac74befe9f23a916cb48ffb614ed9d4a64a87b  xf86-input-evdev-2.10.4.tar.bz2"