summaryrefslogtreecommitdiffstats
path: root/main/xf86-input-keyboard/APKBUILD
blob: 4024896c9b855f299f6cfef38ef23f533dcefa06 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xf86-input-keyboard
pkgver=1.7.0
pkgrel=0
pkgdesc="X.org keyboard input driver"
url="http://xorg.freedesktop.org/"
arch="all"
license="custom"
subpackages="$pkgname-doc"
depends=
makedepends="pkgconfig libxkbfile-dev xorg-server-dev libxi-dev libxrandr-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 || return 1
}

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="97387046c5a450ff78793d5da8e66d5e  xf86-input-keyboard-1.7.0.tar.bz2"
sha256sums="0cd5e2845149c7f0e19ec830c6914b7f3d154bff134ce84519e39f16ce65523c  xf86-input-keyboard-1.7.0.tar.bz2"
sha512sums="f809ea4db5bda0ffefc78887838dd65519ee3e4c862a2021f1e50fb9e56954743c602dd940a054d528b15e8e6e19e88eb2da688dabe3521622993bda54dd4e50  xf86-input-keyboard-1.7.0.tar.bz2"