summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/xterm/PKGBUILD
blob: f3ac735f69be64adc32cb400aeeec952165b82d9 (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
# $Id: PKGBUILD 18684 2008-11-08 16:46:33Z jgc $
#  ppc Maintainer: Alexander Baldeck <alexander@archlinux.org>
# i686 Maintainer: Jan de Groot <jgc@archlinux.org>
pkgname=xterm
pkgver=237
pkgrel=1
pkgdesc="X Terminal Emulator"
arch=(i686 x86_64)
url="http://invisible-island.net/xterm/"
depends=('libxft' 'libxaw>=1.0.5' 'ncurses' 'xorg-apps')
groups=('xorg')
source=(ftp://invisible-island.net/${pkgname}/${pkgname}-${pkgver}.tgz)
md5sums=('6d5f9e124fd3e09487f47c66da8c7345')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  ./configure --prefix=/usr \
              --libdir=/etc \
              --mandir=/usr/share/man \
	      --with-app-defaults=/usr/share/X11/app-defaults/ \
              --with-x \
	      --disable-full-tgetent \
	      --disable-imake \
	      --enable-ansi-color \
	      --enable-88-color \
	      --enable-256-color \
	      --enable-broken-osc \
	      --enable-broken-st \
	      --enable-load-vt-fonts \
	      --enable-i18n \
	      --enable-wide-chars \
	      --enable-doublechars \
	      --enable-warnings \
	      --enable-tcap-query \
	      --enable-logging \
	      --enable-dabbrev \
	      --enable-freetype \
	      --enable-luit \
	      --enable-mini-luit \
	      --enable-narrowproto || return 1
  make || return 1
  make DESTDIR="${pkgdir}" install || return 1
  chmod 0755 "${pkgdir}/usr/bin/xterm" || return 1
}