diff options
Diffstat (limited to 'extra/xterm/PKGBUILD')
-rw-r--r-- | extra/xterm/PKGBUILD | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/extra/xterm/PKGBUILD b/extra/xterm/PKGBUILD new file mode 100644 index 000000000..a64650781 --- /dev/null +++ b/extra/xterm/PKGBUILD @@ -0,0 +1,57 @@ +# $Id: PKGBUILD 113886 2011-03-10 17:49:42Z jgc $ +# Maintainer: Jan de Groot <jgc@archlinux.org> +# Contributor: Alexander Baldeck <alexander@archlinux.org> + +pkgname=xterm +pkgver=269 +pkgrel=1 +pkgdesc="X Terminal Emulator" +arch=('i686' 'x86_64') +url="http://invisible-island.net/xterm/" +license=('custom') +depends=('libxft' 'libxaw' 'ncurses' 'xorg-luit' 'xbitmaps') +source=(ftp://invisible-island.net/${pkgname}/${pkgname}-${pkgver}.tgz + LICENSE) +md5sums=('d32150a7c1b2a8b6e2cbc95d180b9fec' + '10ecc3f8ee91e3189863a172f68282d2') + +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 \ + --enable-exec-xterm \ + --with-tty-group=tty + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install + chmod 0755 "${pkgdir}/usr/bin/xterm" + + install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}" + install -m644 "${srcdir}/LICENSE" \ + "${pkgdir}/usr/share/licenses/${pkgname}/" +} |