summaryrefslogtreecommitdiff
path: root/community/rxvt/PKGBUILD
blob: 212aac06db505d5ed35b419f6dd6aee6b9e206e4 (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
# $Id: PKGBUILD 68943 2012-04-06 10:20:56Z seblu $
# Maintainer: Sébastien Luttringer <seblu@aur.archlinux.org>
# Contributor: Malte Rabenseifer <malte@zearan.de> 
# Contributor: urist <9362773@gmail.com>
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
# Contributor: Troy Phillips <9362773@gmail.com>
# Contributor: Judd Vinet <jvinet@zeroflux.org>

pkgname=rxvt
pkgver=2.7.10
pkgrel=6
pkgdesc='A colour vt102 terminal emulator'
arch=('i686' 'x86_64' 'mips64el')
url='http://rxvt.sourceforge.net/'
license=('GPL')
depends=('libx11')
makedepends=('libxt')
source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz")
md5sums=('302c5c455e64047b02d1ef19ff749141')

build() {
  cd $pkgname-$pkgver
  ./configure --prefix=/usr \
    --build=$CHOST \
    --with-terminfo=/usr/share/terminfo \
    --enable-mousewheel \
    --enable-256-color \
    --enable-linespace \
    --enable-smart-resize \
    --enable-transparency \
    --enable-utmp \
    --enable-wtmp \
    --enable-lastlog \
    --enable-xim
    # --enable-slipwheeling (crash)
  make
}

package() {
  cd $pkgname-$pkgver
  make prefix="$pkgdir/usr" mandir="$pkgdir/usr/share/man/man1" install
  rm "$pkgdir/usr/bin/$pkgname-$pkgver"
  rmdir "$pkgdir/usr/include" "$pkgdir/usr/lib"
}

# vim:set ts=2 sw=2 ft=sh et: