aboutsummaryrefslogtreecommitdiffstats
path: root/main/xf86-input-evdev/APKBUILD
blob: 80eb4082c0b2f4d6ff790531e5264c44c0a3e318 (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.8.3
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
	udev-dev mtdev-dev"
source="http://xorg.freedesktop.org/releases/individual/driver/$pkgname-$pkgver.tar.bz2"

build() {
	cd "$srcdir"/$pkgname-$pkgver

	export LDFLAGS="$LDFLAGS -Wl,-z,lazy"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		|| return 1
	make
}

package() {
	cd "$srcdir"/$pkgname-$pkgver
	make DESTDIR="$pkgdir" install || return 1
	rm "$pkgdir"/usr/lib/xorg/modules/*/*.la || return 1
	install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
}
md5sums="a1178aa1b51ea0e1ef618a08cce02e44  xf86-input-evdev-2.8.3.tar.bz2"
sha256sums="02ec7fd68635bd67be10275ba23f6c301a9109d72cac9c8646e28842003c06b0  xf86-input-evdev-2.8.3.tar.bz2"
sha512sums="c1586fa810080cec06205c1a5c22676862d37c5898092e45ea2928fb7f41cc16e3f27b65642c4cd0715ca5968b6833d89d7d2f49ca1d8b39f294cba694f1b368  xf86-input-evdev-2.8.3.tar.bz2"