[arch-commits] Commit in libnewt/trunk (PKGBUILD)
Alexander Rødseth
arodseth at nymeria.archlinux.org
Sat Apr 20 19:08:08 UTC 2013
Date: Saturday, April 20, 2013 @ 21:08:08
Author: arodseth
Revision: 88637
upgpkg: libnewt 0.52.15-1
Modified:
libnewt/trunk/PKGBUILD
----------+
PKGBUILD | 19 ++++++++++++-------
1 file changed, 12 insertions(+), 7 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2013-04-20 19:00:12 UTC (rev 88636)
+++ PKGBUILD 2013-04-20 19:08:08 UTC (rev 88637)
@@ -5,12 +5,12 @@
# Contributor: Daniel J Griffiths <ghost1227 at 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 @@
'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
+ echo '#define USE_INTERP_RESULT 1' >> config.h
+}
+
+build() {
+ cd "$srcdir/newt-$pkgver"
+
./configure --prefix=/usr --with-gpm-support
- echo '#define USE_INTERP_RESULT 1' >> config.h
make
}
More information about the arch-commits
mailing list