From 031887a2047546085998f965214f5b682664de9b Mon Sep 17 00:00:00 2001 From: root Date: Sun, 21 Apr 2013 01:12:26 -0700 Subject: Sun Apr 21 01:12:25 PDT 2013 --- community/libnewt/PKGBUILD | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) (limited to 'community/libnewt/PKGBUILD') diff --git a/community/libnewt/PKGBUILD b/community/libnewt/PKGBUILD index 3719e587e..307d2d90d 100644 --- a/community/libnewt/PKGBUILD +++ b/community/libnewt/PKGBUILD @@ -1,16 +1,16 @@ -# $Id: PKGBUILD 81605 2012-12-25 00:34:10Z foutrelis $ +# $Id: PKGBUILD 88638 2013-04-20 19:08:21Z arodseth $ # Maintainer: Alexander Rødseth # Contributor: Roman Kyrylych # Contributor: Tom Killian # Contributor: Daniel J Griffiths pkgname=libnewt -pkgver=0.52.12 +pkgver=0.52.15 +pkgrel=1 _tclver=8.6 -pkgrel=5 pkgdesc="Not Erik's Windowing Toolkit - text mode windowing with slang" -arch=('i686' 'x86_64') -url='http://www.redhat.com/' +arch=('x86_64' 'i686') +url='https://fedorahosted.org/newt/' license=('GPL') depends=('slang' 'popt' 'gpm') makedepends=("tcl>=$_tclver" 'python2') @@ -18,15 +18,20 @@ optdepends=('tcl: whiptcl support' \ 'python2: libnewt api through _snack module') options=('!makeflags') source=("https://fedorahosted.org/releases/n/e/newt/newt-$pkgver.tar.gz") -sha256sums=('2ba88dc3d118daf509c58e3707c43ad57dd3415d8164054e93fe76439f348529') +sha256sums=('7a6151923e7a8a950f9a8a21668a5780d09b0f35f9d76a7ec606c71c35a0e241') -build() { +prepare() { cd "$srcdir/newt-$pkgver" sed -i "s:tcl8.4:tcl$_tclver:" Makefile.in sed -i 's:bin/python:bin/python2:' *.py - ./configure --prefix=/usr --with-gpm-support echo '#define USE_INTERP_RESULT 1' >> config.h +} + +build() { + cd "$srcdir/newt-$pkgver" + + ./configure --prefix=/usr --with-gpm-support make } -- cgit v1.2.3-54-g00ecf