summaryrefslogtreecommitdiffstats
path: root/main/setxkbmap/APKBUILD
blob: 4f88a0755b786e5e1006c293444d4ae08fecaf76 (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
34
35
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=setxkbmap
pkgver=1.1.0
pkgrel=2
pkgdesc="set the keyboard using the X Keyboard Extension"
url="http://xorg.freedesktop.org/"
arch="all"
license="custom"
depends=
makedepends="pkgconfig libxkbfile-dev"
source="http://xorg.freedesktop.org/releases/individual/app/$pkgname-$pkgver.tar.bz2"

_builddir="$srcdir/$pkgname-$pkgver"
prepare() {
	cd "$_builddir"
	update_config_sub || return 1
}

build() {
	cd "$_builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		|| return 1
	make || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR=""$pkgdir"" install || return 1
}
md5sums="2f902e0a89aaf2b19e06e7f26c6efb3a  setxkbmap-1.1.0.tar.bz2"
sha256sums="932f2b314a4bf6dfccd16d63c633073abf650d8e136f481904e972ef3d4faf64  setxkbmap-1.1.0.tar.bz2"
sha512sums="ca006e59b097c4cbb3434dc84eef3e0fcfb25af0f6a2b85b900a2db11c471592cd206ff048c3b8887d6e4bf48aa9168ed12f4e54b5b3b16d10ca8aa6a189ae45  setxkbmap-1.1.0.tar.bz2"