summaryrefslogtreecommitdiff
path: root/community/twin/PKGBUILD
blob: 03aa1ae09d624e758646830d456d75b1d5d0a656 (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
# $Id: PKGBUILD 59233 2011-11-21 15:28:15Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: G_Syme <demichan(at)mail(dot)upb(dot)de>

pkgname=twin
pkgver=0.6.2
pkgrel=1
pkgdesc="A text-mode window environment"
arch=('i686' 'x86_64' 'mips64el')
url="http://linuz.sns.it/~max/twin/"
license=('GPL' 'LGPL')
depends=('ncurses' 'gpm' 'zlib' 'libtool' 'libxpm')
optdepends=('gtk')
#source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz)
source=(http://arch.p5n.pp.ru/~sergej/dl/2011/twin-$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 -j1
  make DESTDIR=$pkgdir install
}