summaryrefslogtreecommitdiffstats
path: root/abs/core/xorg-server-utils/PKGBUILD
blob: 5185a0703b767f1f1a7861d04a64535955611260 (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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
# $Id: PKGBUILD 88717 2010-08-24 14:40:21Z jgc $
# Maintainer: Jan de Groot <jgc@archlinux.org>

pkgname=xorg-server-utils
pkgver=7.5
pkgrel=6
pkgdesc="X.Org utilities required by xorg-server"
arch=(i686 x86_64)
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('libxfontcache>=1.0.5' 'libxi>=1.3' 'libxaw>=1.0.6' 'libxrandr>=1.3.0' 'libxxf86vm>=1.1.0' 'mcpp>=2.7.2')
makedepends=('pkgconfig' 'xbitmaps' 'bigreqsproto' 'xtrans')
groups=('xorg')
source=(${url}/releases/individual/app/iceauth-1.0.3.tar.bz2
        ${url}/releases/individual/app/rgb-1.0.3.tar.bz2
        ${url}/releases/individual/app/sessreg-1.0.6.tar.bz2
        ${url}/releases/individual/app/xcmsdb-1.0.2.tar.bz2
        ${url}/releases/individual/app/xbacklight-1.1.1.tar.bz2
        ${url}/releases/individual/app/xgamma-1.0.3.tar.bz2
        ${url}/releases/individual/app/xhost-1.0.3.tar.bz2
        ${url}/releases/individual/app/xinput-1.5.2.tar.bz2
        ${url}/releases/individual/app/xmodmap-1.0.4.tar.bz2
        ${url}/releases/individual/app/xrandr-1.3.3.tar.bz2
        ${url}/releases/individual/app/xrdb-1.0.6.tar.bz2
        ${url}/releases/individual/app/xrefresh-1.0.3.tar.bz2
        ${url}/releases/individual/app/xset-1.2.0.tar.bz2
        ${url}/releases/individual/app/xsetmode-1.0.0.tar.bz2
        ${url}/releases/individual/app/xsetroot-1.0.3.tar.bz2
        ${url}/releases/individual/app/xvidtune-1.0.2.tar.bz2
        LICENSE.iceauth
        LICENSE.xcmsdb)
md5sums=('975ade3f238c1eb10705da0a91e6e8e7'
         '44ea16cc3104de6401bc74035f642357'
         '8c8fcda19f4cffe573d43ec9b8255f8e'
         '7f2bed9f4dd3301d18d83eb296c3be0d'
         '3e39eec6d0fd5c587ca6d55aa7bb8fe1'
         'e8a88bf1a18f35b724619849dca97f4f'
         'c7f91b4a750d297f269c2a0a3206a1b2'
         '8cec6023f90180cb8e4be31d98c43fda'
         'bbe021f812e0014a8ee3692317788119'
         '5b2dcfb0d9b736afaf78f6ce7651259c'
         '8dd881cd5a7dcb6e456549817f0fb475'
         '8f4fafcfb77b3c6972cc44bb3f1c899c'
         '88ff2d390695366fa53e5d746fe86ad5'
         'd074e79d380b031d2f60e4cd56538c93'
         'cbda9b9b8da5af4614110883d5a276b8'
         'e40eeb4454f2a7cdde3a14f5dfd3aadd'
         '65695dc24c24958190724a23655ffda7'
         'b6235416dca2205f0ba83c0c4b3ddeb8')

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