PKGBUILDs/community/twin/PKGBUILD

24 lines
707 B
Bash
Raw Normal View History

2009-10-10 02:15:33 +00:00
# Contributor: G_Syme <demichan(at)mail(dot)upb(dot)de>
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
}