aboutsummaryrefslogtreecommitdiffstats
path: root/main/setxkbmap/APKBUILD
blob: 6b43028d75f05799724366bd91e8c7f3fd4f45b4 (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=setxkbmap
pkgver=1.3.1
pkgrel=1
pkgdesc="set the keyboard using the X Keyboard Extension"
url="http://xorg.freedesktop.org/"
arch="all"
options="!check"  # No test suite.
license="MIT"
depends=""
makedepends="libxkbfile-dev util-macros"
subpackages="$pkgname-doc"
source="http://www.x.org/releases/individual/app/$pkgname-$pkgver.tar.bz2"

builddir="$srcdir/$pkgname-$pkgver"
build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
}

sha512sums="5ddc2fc40ddc5a35815606998d3f111e3c2b8d915bf609462c703f9f691a0b3a6477ee98837c0a28f11dd3f0a30f17a3bcdfa38d4ca45140e521c74d043ecdee  setxkbmap-1.3.1.tar.bz2"