APKBUILD 800 Bytes
Newer Older
Natanael Copa's avatar
Natanael Copa committed
1 2
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=setxkbmap
Leo's avatar
Leo committed
3 4
pkgver=1.3.2
pkgrel=0
Natanael Copa's avatar
Natanael Copa committed
5 6
pkgdesc="set the keyboard using the X Keyboard Extension"
url="http://xorg.freedesktop.org/"
7
arch="all"
8
options="!check"  # No test suite.
9
license="MIT"
10
makedepends="libxkbfile-dev util-macros"
11
subpackages="$pkgname-doc"
Leo's avatar
Leo committed
12
source="https://www.x.org/releases/individual/app/setxkbmap-$pkgver.tar.bz2"
Natanael Copa's avatar
Natanael Copa committed
13

14
build() {
15
	cd "$builddir"
16 17 18 19
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
20 21
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
22 23
		--localstatedir=/var
	make
24 25 26
}

package() {
27
	cd "$builddir"
28
	make DESTDIR="$pkgdir" install
Natanael Copa's avatar
Natanael Copa committed
29
}
30

Leo's avatar
Leo committed
31
sha512sums="bfa8015dee0d8d3fdbbd89afbd71c8606ce168d6edca8521d5ed05a00fecbea39bc4bfcce84b71458bdeb34c60bd80a5df27e0691ccee3966443ecdc937faf38  setxkbmap-1.3.2.tar.bz2"