summaryrefslogtreecommitdiff
path: root/community/libnewt
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-04-21 01:12:26 -0700
committerroot <root@rshg054.dnsready.net>2013-04-21 01:12:26 -0700
commit031887a2047546085998f965214f5b682664de9b (patch)
treed093de81eafda62084703e9109f86de6e02f1ad2 /community/libnewt
parent1f9776d421ac40faa59f797893033e99e4f919eb (diff)
Sun Apr 21 01:12:25 PDT 2013
Diffstat (limited to 'community/libnewt')
-rw-r--r--community/libnewt/PKGBUILD21
1 files changed, 13 insertions, 8 deletions
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 <rodseth@gmail.com>
# Contributor: Roman Kyrylych <roman@archlinux.org>
# Contributor: Tom Killian <tomk@runbox.com>
# Contributor: Daniel J Griffiths <ghost1227@archlinux.us>
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
}