aboutsummaryrefslogtreecommitdiffstats
path: root/main/setxkbmap/APKBUILD
blob: 47dad3b2facbd05ca10e46841096d8e88b2cf786 (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="https://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"