summaryrefslogtreecommitdiff
path: root/extra/xorg-xkbcomp/PKGBUILD
blob: ae3d9a204a4614075f1cb9c0320708dcc7a82cd7 (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
# $Id: PKGBUILD 154156 2012-03-23 20:01:59Z andyrtr $
# Maintainer: Jan de Groot <jgc@archlinux.org>

pkgname=xorg-xkbcomp
pkgver=1.2.4
pkgrel=1
pkgdesc="X Keyboard description compiler"
arch=(i686 x86_64 mips64el)
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('libxkbfile')
makedepends=('xorg-util-macros')
groups=('xorg-apps' 'xorg')
source=(${url}/releases/individual/app/xkbcomp-${pkgver}.tar.bz2)
sha1sums=('695d2f2824884d9e54aa1419282ae167fdea163b')

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

package() {
  cd "${srcdir}/xkbcomp-${pkgver}"
  make DESTDIR="${pkgdir}" install
  install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
  install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
}