summaryrefslogtreecommitdiff
path: root/extra/xorg-xkbcomp/PKGBUILD
blob: 058840aacc3478f7c4f45c1bb7f0a2f101aff3d5 (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 130738 2011-07-07 22:22:56Z andyrtr $
# Maintainer: Jan de Groot <jgc@archlinux.org>

pkgname=xorg-xkbcomp
pkgver=1.2.3
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=('c20d1b5b8e25634cc9a79c5e4c3397a5ffbee1e0')

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