summaryrefslogtreecommitdiff
path: root/extra/xorg-setxkbmap/PKGBUILD
blob: 67e964f15c39515fa2e1a64ad2ba1895b725aa05 (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
# $Id: PKGBUILD 149065 2012-02-05 16:09:19Z bisson $
# Contributor: Jan de Groot <jgc@archlinux.org>
# Maintainer: Gaetan Bisson <bisson@archlinux.org>

pkgname=xorg-setxkbmap
pkgver=1.2.0
pkgrel=3
pkgdesc='Set the keyboard using the X Keyboard Extension'
url='http://xorg.freedesktop.org/'
license=('custom')
arch=('i686' 'x86_64' 'mips64el')
depends=('libxkbfile')
makedepends=('xorg-util-macros')
source=("${url}/releases/individual/app/setxkbmap-${pkgver}.tar.bz2")
sha1sums=('860785e16313d30792fe62604f65d84281812322')

groups=('xorg-apps' 'xorg')

build() {
	cd "${srcdir}/setxkbmap-${pkgver}"
	./configure --prefix=/usr
	make
}

package() {
	cd "${srcdir}/setxkbmap-${pkgver}"
	make DESTDIR="${pkgdir}" install
	install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
}