summaryrefslogtreecommitdiff
path: root/extra/xorg-setxkbmap/PKGBUILD
blob: 70f4b10c3cbd6f9ea7c7a57ea947556af2f326af (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 215762 2014-06-30 11:44:10Z bisson $
# Maintainer: Gaetan Bisson <bisson@archlinux.org>
# Contributor: Jan de Groot <jgc@archlinux.org>

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

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"
}