summaryrefslogtreecommitdiffstats
path: root/abs/core/xorg-apps/PKGBUILD
blob: adaccd2beeb50a544c06da18680026cbcb6ba4b3 (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
76
77
# $Id: PKGBUILD 19081 2008-11-14 21:07:55Z jgc $
# Maintainer: Alexander Baldeck <alexander@archlinux.org>
# Contributor: Jan de Groot <jgc@archlinux.org>
pkgname=xorg-apps
pkgver=7.4
pkgrel=1
pkgdesc="Various X.Org applications"
arch=(i686 x86_64)
url="http://xorg.freedesktop.org/"
depends=(libxcursor libxkbfile libpng libxft libfontenc libxaw)
makedepends=(pkgconfig xbitmaps)
source=(${url}/releases/individual/app/oclock-1.0.1.tar.bz2
        ${url}/releases/individual/app/luit-1.0.3.tar.bz2
        ${url}/releases/individual/app/xclock-1.0.3.tar.bz2
        ${url}/releases/individual/app/xpr-1.0.2.tar.bz2
        ${url}/releases/individual/app/xwd-1.0.2.tar.bz2
        ${url}/releases/individual/app/xwud-1.0.1.tar.bz2
        ${url}/releases/individual/app/x11perf-1.5.tar.bz2
        ${url}/releases/individual/app/xbiff-1.0.1.tar.bz2
        ${url}/releases/individual/app/xclipboard-1.0.1.tar.bz2
        ${url}/releases/individual/app/xconsole-1.0.3.tar.bz2
        ${url}/releases/individual/app/xcursorgen-1.0.2.tar.bz2
        ${url}/releases/individual/app/xeyes-1.0.1.tar.bz2
        ${url}/releases/individual/app/xkill-1.0.1.tar.bz2
        ${url}/releases/individual/app/xload-1.0.2.tar.bz2
        ${url}/releases/individual/app/xlogo-1.0.1.tar.bz2
        ${url}/releases/individual/app/xmag-1.0.2.tar.bz2
        ${url}/releases/individual/app/xmessage-1.0.2.tar.bz2
        ${url}/releases/individual/app/xcalc-1.0.2.tar.bz2
	${url}/releases/individual/app/xman-1.0.3.tar.bz2
	${url}/releases/individual/app/xedit-1.1.2.tar.bz2
	${url}/releases/individual/app/xmh-1.0.1.tar.bz2)
md5sums=('91f49547f9ed3cd0137c8b7c3183e360'
         'b01e4f71c20fc1c79ed727759c1df40c'
         '2b1a3d030d87e62a591db8ee4c0072e6'
         '6b3a6896081f628bf5a2c9129417c86f'
         '0a6ef08a2ac08ad5c4dd1522eb3788a3'
         '6e3c5d0297d88e890b6f5df31f73dd60'
         '31283bfc3c78718ac1bd71e510d4e774'
         '404f5add4537d22dd109c33e518a5190'
         '2c6ecedb10dc51adbb64c95f22fd99c2'
         '0e1a3110bebabecc2897d67a973526b0'
         '6fc90896b8c786cb1a2100b4167f7874'
         '033f14f7c4e30d1f4edbb22d5ef86883'
         'f66d76abb0f75514ca32272e23cca757'
         'b41ed6b4bcfc9897366c27a94d2bf150'
         '4c5482552f38a7d42398a694cc9b2ee6'
         '7c6a783e42c88360ac31d259a864a19d'
         'b4b561ef11fd184989a6062962e86748'
         'd31a99795b9668f047aa11bf36df6df0'
         '3d3a4b310a65ccce82472ef83acbbf97'
         '67193be728414d45a1922911e6437991'
         '656bcbdd41818a8b5a9f7dba77a3eeba')

build() {
  cd "${srcdir}"
  for i in *; do
    if [ -d "${i}" ]; then
      pushd "${i}"
      case "${i}" in 
        x11perf*)
          sed -e 's|^LIBPATH = $(libdir)|LIBPATH = $(datadir)|' \
	      -i Makefile.* || return 1
	;;
	xedit*)
	  sed -e 's|^XEDITDIR = ${libdir}|XEDITDIR = ${datadir}|' \
	      -i Makefile.* || return 1
	;;
      esac
      ./configure --prefix=/usr --disable-xprint --mandir=/usr/share/man \
                  --with-localealiasfile=/usr/share/X11/locale/locale.alias
      make || return 1
      make DESTDIR="${pkgdir}" install || return 1
      popd
    fi
  done
}