summaryrefslogtreecommitdiff
path: root/community/eterm/PKGBUILD
blob: ea705b2251cd6dcd54d280c18090ae5b89f460da (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
# Contributor: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Adam 'battlemidget' Stokes <adam.stokes@gmail.com>
# Maintainer: Daniel J Griffiths <ghost1227@archlinux.us>

pkgname=eterm
pkgver=0.9.5
pkgrel=4
pkgdesc="A vt102 terminal emulator intended as a replacement for xterm."
arch=('i686' 'x86_64' 'mips64el')
url="http://www.eterm.org/"
license=('custom')
depends=('freetype2>=2.3.5' 'libast>=0.7' 'libxmu' 'libxres')
options=('!libtool')
source=(http://www.eterm.org/download/Eterm-${pkgver}.tar.gz)
md5sums=('87220a61f763d111a4f5fc88ef9e50f1')

build() {
	cd ${srcdir}/Eterm-${pkgver}
	CONF=""
	[ "${CARCH}" = "x86_64" ] && CONF="--disable-mmx"
	./configure --prefix=/usr --mandir=/usr/share/man \
	    --enable-trans --enable-utmp \
	    --enable-xim --with-theme-update \
	    --with-backspace=bs --without-terminfo \
	    --enable-multi-charset ${CONF}
	make || return 1
}

package() {
	cd ${srcdir}/Eterm-${pkgver}
	make DESTDIR=${pkgdir} install

	install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
}