summaryrefslogtreecommitdiffstats
path: root/abs/core/xorg-server-utils/PKGBUILD
blob: eb30890cb0ea46812460cbb43b357657e3dc27db (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
74
75
# $Id: PKGBUILD 3241 2008-06-21 18:04:39Z jgc $
# Maintainer: Alexander Baldeck <alexander@archlinux.org>
# Contributor: Jan de Groot <jgc@archlinux.org>
pkgname=xorg-server-utils
pkgver=7.3
pkgrel=1
pkgdesc="X.Org utilities required by xorg-server"
arch=(i686 x86_64)
url="http://xorg.freedesktop.org/"
depends=('libxfontcache' 'libxi' 'liblbxutil' 'libxrandr>=1.2.1' 'libxxf86misc'
         'libxaw' 'libxxf86vm' 'libxtrap' 'mcpp>=2.6' 'xtrans')
makedepends=('pkgconfig' 'xbitmaps' 'xproxymngproto')
source=(${url}/releases/individual/app/iceauth-1.0.2.tar.bz2
        ${url}/releases/individual/app/lbxproxy-1.0.1.tar.bz2
        ${url}/releases/individual/app/rgb-1.0.3.tar.bz2
        ${url}/releases/individual/app/sessreg-1.0.4.tar.bz2
        ${url}/releases/individual/app/xcmsdb-1.0.1.tar.bz2
        ${url}/releases/individual/app/xbacklight-1.1.tar.bz2
	${url}/releases/individual/app/xgamma-1.0.2.tar.bz2
        ${url}/releases/individual/app/xhost-1.0.2.tar.bz2
        ${url}/releases/individual/app/xmodmap-1.0.3.tar.bz2
        ${url}/releases/individual/app/xrandr-1.2.3.tar.bz2
        ${url}/releases/individual/app/xrdb-1.0.5.tar.bz2
        ${url}/releases/individual/app/xrefresh-1.0.2.tar.bz2
        ${url}/releases/individual/app/xset-1.0.4.tar.bz2
        ${url}/releases/individual/app/xsetmode-1.0.0.tar.bz2
        ${url}/releases/individual/app/xsetpointer-1.0.1.tar.bz2
        ${url}/releases/individual/app/xsetroot-1.0.2.tar.bz2
        ${url}/releases/individual/app/xstdcmap-1.0.1.tar.bz2
        ${url}/releases/individual/app/xtrap-1.0.2.tar.bz2
        ${url}/releases/individual/app/xvidtune-1.0.1.tar.bz2)
md5sums=('7ab8b64edf0212a9d9a3c8129901a450'
         '9d5045a5c76b1fe360221b967a5aa0e9'
         '44ea16cc3104de6401bc74035f642357'
         '839e968d7197b9563f0fd8a5a3aac2e3'
         '8579d5f50ba7f0c4a5bf16b9670fea01'
         '51b4a1c0ae2b3bd77417306fd78a3e94'
         'f13ddedaa63a608d3b025d326f4f5b5d'
         'f746aba36f075ae4cae313d849a94f4e'
         '626731003ec22a74ecf9e44ed098bbdf'
         '41a9d0cc073fa6165a31fbf9e85f68a6'
         '9c30b8e1709d5367beb7706146640c07'
         '1228f890f86148e4e6ae22aa73118cbb'
         '2f41fd983ba4d89419204854936025e2'
         'd074e79d380b031d2f60e4cd56538c93'
         '9e5bcbeda4aaf02bfa095e41d30baee4'
         '9af7db9f3052aef0b11636720b3101dd'
         '86ab558441edfb86f853639e4290a754'
         '97a62a011a11f03b46d72851aa298fa8'
         'e0744594f4e5969b20df28d897781318')

build() {
  cd ${startdir}/src
  for i in *; do
    if [ -d "${i}" ]; then
      pushd "${i}"
      case "${i}" in
        xrdb*)
	  ./configure --prefix=/usr --with-cpp=/usr/bin/mcpp\ -@old
	;;
	lbxproxy*)
	  sed -e 's|$(libdir)/X11/lbxproxy|$(datadir)/X11/libxproxy|g' \
	      -i Makefile.* || return 1
	  ./configure --prefix=/usr
	;;
	*)
	  ./configure --prefix=/usr
	;;
      esac
      make || return 1
      make DESTDIR=${startdir}/pkg install || return 1
      popd
    fi
  done
}