summaryrefslogtreecommitdiff
path: root/user/setxkbmap/APKBUILD
blob: 087db5504289ff290facaf07f64df422fe2f0153 (plain) (blame)
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: A. Wilcox <awilfox@adelielinux.org>
pkgname=setxkbmap
pkgver=1.3.3
pkgrel=0
pkgdesc="Set keyboard layout in X11"
url="https://www.X.Org/"
arch="all"
license="MIT"
depends=""
makedepends="libx11-dev libxkbfile-dev libxrandr-dev util-macros"
subpackages="$pkgname-doc"
source="https://www.X.Org/releases/individual/app/$pkgname-$pkgver.tar.xz"

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

check() {
	make check
}

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

sha512sums="208f07a7f7bce47b573099d4cd8c941a3a4d74b456720bc3ca1cbba298381a2ab98c7500d6e6cd6d5dd61840b7c42cf6521da754ec395f266f8158102a55ad58  setxkbmap-1.3.3.tar.xz"