aboutsummaryrefslogtreecommitdiffstats
path: root/main/setxkbmap/APKBUILD
blob: ceea8ab2ce41f6ed8ffb0b69be7bedc6c20adaed (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.3.1
pkgrel=0
pkgdesc="set the keyboard using the X Keyboard Extension"
url="http://xorg.freedesktop.org/"
arch="all"
license="MIT"
depends=""
makedepends="libxkbfile-dev"
subpackages="$pkgname-doc"
source="http://xorg.freedesktop.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 \
		|| return 1
	make || return 1
}

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

md5sums="2c47a1b8e268df73963c4eb2316b1a89  setxkbmap-1.3.1.tar.bz2"
sha256sums="a9ddb3963f263ba13f0ea105d8c45a531832140530217cc559587bb94f02d3e1  setxkbmap-1.3.1.tar.bz2"
sha512sums="5ddc2fc40ddc5a35815606998d3f111e3c2b8d915bf609462c703f9f691a0b3a6477ee98837c0a28f11dd3f0a30f17a3bcdfa38d4ca45140e521c74d043ecdee  setxkbmap-1.3.1.tar.bz2"