core/xorg-setxkbmap/PKGBUILD

28 lines
676 B
Bash

# Maintainer: Drake Justice <djustice@chakraos.org>
pkgname=xorg-setxkbmap
pkgver=1.3.0
pkgrel=1
pkgdesc='Set the keyboard using the X Keyboard Extension'
url='http://xorg.freedesktop.org/'
license=('custom')
arch=('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"
}