aboutsummaryrefslogtreecommitdiffstats
path: root/main/setxkbmap/APKBUILD
blob: 766cc56971d6ca5fab6f84bea8101bbd70bcd39f (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
# 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"

build ()
{
	cd "$srcdir"/$pkgname-$pkgver

	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		|| return 1
	make || return 1
	make DESTDIR=""$pkgdir"" install || return 1
}
md5sums="2f902e0a89aaf2b19e06e7f26c6efb3a  setxkbmap-1.1.0.tar.bz2"