aboutsummaryrefslogtreecommitdiffstats
path: root/main/xf86-input-keyboard/APKBUILD
blob: 2869394380adf42027074bef9d1bee632fd3b6b9 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xf86-input-keyboard
pkgver=1.9.0
pkgrel=1
pkgdesc="X.org keyboard input driver"
url="https://xorg.freedesktop.org"
arch="all"
license="MIT"
subpackages="$pkgname-doc"
depends=
makedepends="libxkbfile-dev xorg-server-dev libxi-dev libxrandr-dev"
source="https://www.x.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
	make
}

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

sha512sums="d1a52d10039096d0d5e09750b6a8c2388345748331615af93e5be499646c3bc5fbbfc897fcebdeada5efaafff94f26a2ab84d6e35f01a875b8b9956a42015df9  xf86-input-keyboard-1.9.0.tar.bz2"