# $Id: PKGBUILD 70178 2012-05-01 12:01:36Z andrea $ # Maintainer: Sergej Pupykin # Contributor: G_Syme pkgname=twin pkgver=0.6.2 pkgrel=3 pkgdesc="A text-mode window environment" arch=('i686' 'x86_64' 'mips64el') url='http://sourceforge.net/projects/twin/' license=('GPL2' 'LGPL2.1') depends=('gpm' 'zlib' 'libxpm') optdepends=('gtk') options=('!makeflags') source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz") md5sums=('6211c8b2e655003eb96b1fc5dc37e7d9') build() { cd $srcdir/$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 make } package() { cd $srcdir/$pkgname-$pkgver make DESTDIR=$pkgdir install }