# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $ # Maintainer: Roman Kyrylych # Contributor: Tom Killian pkgname=libnewt pkgver=0.52.8 pkgrel=2 pkgdesc="Not Erik's Windowing Toolkit - text mode windowing with slang" arch=('i686' 'x86_64') url="http://www.redhat.com" license=("GPL") depends=('slang' 'popt' 'gpm') makedepends=('tcl' 'python>=2.6') options=('!makeflags') source=(http://dev.gentoo.org/~xmerlin/misc/newt-$pkgver.tar.gz) md5sums=('0daef93590e9b6fd3419c871e75f9fa7') build() { cd "$srcdir/newt-$pkgver" sed -i "s:tcl8.4:tcl8.5:" Makefile.in sed -i "s:/usr/bin/install:/bin/install:" po/Makefile ./configure --with-gpm-support make || return 1 make prefix="$pkgdir/usr" install }