summaryrefslogtreecommitdiffstats
path: root/abs/not_built/core/xorg-xkb-utils/PKGBUILD
blob: e6a1e09c8130bd1a667f1df2ddfa04bab0310212 (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
30
31
32
33
34
35
36
37
38
39
40
41
42
# $Id: PKGBUILD 61601 2009-12-19 21:31:47Z jgc $
# Maintainer: Jan de Groot <jgc@archlinux.org>

pkgname=xorg-xkb-utils
pkgver=7.5
pkgrel=3
pkgdesc="X.org keyboard utilities"
arch=('i686' 'x86_64')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('libxaw>=1.0.5' 'libxkbfile')
makedepends=(pkgconfig inputproto)
source=(${url}/releases/individual/app/xkbutils-1.0.2.tar.bz2
        ${url}/releases/individual/app/xkbcomp-1.1.1.tar.bz2
        ${url}/releases/individual/app/xkbevd-1.1.0.tar.bz2
        ${url}/releases/individual/app/setxkbmap-1.1.0.tar.bz2
        ${url}/releases/individual/app/xkbprint-1.0.2.tar.bz2
        LICENSE.setxkbmap LICENSE.xkbevd LICENSE.xkbutils)
md5sums=('369a21641b7ca983d6641298e51d97f8'
         '38c387bacdc01038c8ac280588792bcf'
         '8d3c1485c2dd62ea7395a37377958a39'
         '2f902e0a89aaf2b19e06e7f26c6efb3a'
         '3d3eb10466442354d6b73b503b9829db'
         '7c20baa6a26c32a04b1b1d6cbaa626a7'
         '7b1fc39455375a25afe6f9594ff979ac'
         '7b1fc39455375a25afe6f9594ff979ac')

build() {
  cd "${srcdir}"
  for i in *; do
    if [ -d "${i}" ]; then
      pushd "${i}"
      ./configure --prefix=/usr --mandir=/usr/share/man || return 1
      make || return 1
      make DESTDIR="${pkgdir}" install || return 1
      install -D -m644 COPYING "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE.${i%-*}  || return 1
      popd
    fi
  done
# Replacing stub license files
  install -D -m644 "${srcdir}"/LICENSE.* "${pkgdir}/usr/share/licenses/${pkgname}/"  || return 1
}