diff options
author | Michał Masłowski <mtjm@mtjm.eu> | 2013-04-21 10:43:42 +0200 |
---|---|---|
committer | Michał Masłowski <mtjm@mtjm.eu> | 2013-04-21 10:43:42 +0200 |
commit | 4e66a1c1c541a0b60aa63f4d846c5e6f225b71b8 (patch) | |
tree | db8c1d395ab4a671230a246df665dbee6b62235d /community/libnewt/PKGBUILD | |
parent | 742bd5a396f7a4c474e8ffec0686fc7312603cb8 (diff) | |
parent | 031887a2047546085998f965214f5b682664de9b (diff) |
Merge branch 'master' of ssh://parabolagnulinux.org:1863/home/parabola/abslibre-pre-mips64el
Conflicts:
community/emacs-nox/PKGBUILD
community/gmic/PKGBUILD
community/libgtksourceviewmm2/PKGBUILD
community/libnewt/PKGBUILD
community/nicotine/PKGBUILD
community/plan9port/PKGBUILD
extra/calligra/PKGBUILD
extra/ilmbase/PKGBUILD
extra/libwps/PKGBUILD
extra/openexr/PKGBUILD
extra/poppler/PKGBUILD
Diffstat (limited to 'community/libnewt/PKGBUILD')
-rw-r--r-- | community/libnewt/PKGBUILD | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/community/libnewt/PKGBUILD b/community/libnewt/PKGBUILD index 8dc497fb9..356aebee0 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' 'mips64el') -url='http://www.redhat.com/' +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 } |