aboutsummaryrefslogtreecommitdiffstats
path: root/main/xf86-input-evdev/APKBUILD
blob: 595a7c0642914a59596143df2d13931a08a137cf (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xf86-input-evdev
pkgver=2.9.2
pkgrel=1
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"

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
	install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
}
md5sums="99eebf171e6c7bffc42d4fc430d47454  xf86-input-evdev-2.9.2.tar.bz2"
sha256sums="792329b531afc6928ccda94e4b51a5520d4ddf8ef9a00890a5d0d31898acefec  xf86-input-evdev-2.9.2.tar.bz2"
sha512sums="258c4c391fdd5a3c5a5bef86f55f27d47fd7527f37edd601ee76c0acc2e1830e8899cc8d7a59d646b49f3f23d93971bcc70a76185a7580942935cbf3a0d888f7  xf86-input-evdev-2.9.2.tar.bz2"