# Contributor: G_Syme pkgname=twin pkgver=0.6.1 pkgrel=1 pkgdesc="A text-mode window environment" arch=('i686' 'x86_64') url="http://sourceforge.net/projects/twin/" license=('GPL' 'LGPL') depends=('ncurses' 'gpm' 'zlib' 'libtool' 'libxpm') source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz) md5sums=('79fa70a10f720a947ff7e9d7be77435b') build() { cd $startdir/src/$pkgname-$pkgver LDFLAGS="-lX11" ./configure --prefix=/usr \ --enable-tt=yes \ --enable-tt-hw-twin=yes --enable-tt-hw-twin-tunnel=yes --enable-tt-hw-twin-detunnel=yes \ --enable-tt-hw-xml=yes \ || return 1 make || return 1 make DESTDIR=$startdir/pkg install || return 1 }