[arch-commits] CVS update of core/base/ncurses (PKGBUILD)
Tobias Powalowski
tpowa at archlinux.org
Sun Oct 21 19:45:22 UTC 2007
Date: Sunday, October 21, 2007 @ 15:45:22
Author: tpowa
Path: /home/cvs-core/core/base/ncurses
Modified: PKGBUILD (1.25 -> 1.26)
'upgpgk: fixed tput library and tput path for new initscripts'
----------+
PKGBUILD | 19 +++++++++++++++----
1 file changed, 15 insertions(+), 4 deletions(-)
Index: core/base/ncurses/PKGBUILD
diff -u core/base/ncurses/PKGBUILD:1.25 core/base/ncurses/PKGBUILD:1.26
--- core/base/ncurses/PKGBUILD:1.25 Thu Oct 4 22:45:16 2007
+++ core/base/ncurses/PKGBUILD Sun Oct 21 15:45:21 2007
@@ -1,8 +1,8 @@
-# $Id: PKGBUILD,v 1.25 2007/10/05 02:45:16 dan Exp $
+# $Id: PKGBUILD,v 1.26 2007/10/21 19:45:21 tpowa Exp $
# Maintainer: judd <jvinet at zeroflux.org>
pkgname=ncurses
pkgver=5.6
-pkgrel=3
+pkgrel=4
pkgdesc="A System V Release 4.0 curses emulation library"
arch=(i686 x86_64)
url="http://www.gnu.org/software/ncurses/ncurses.html"
@@ -11,6 +11,7 @@
depends=('glibc' 'coreutils')
source=(ftp://ftp.gnu.org/pub/gnu/$pkgname/$pkgname-$pkgver.tar.gz)
md5sums=('b6593abe1089d6aab1551c105c9300e3')
+options=(!makeflags)
build() {
cd $startdir/src/$pkgname-$pkgver
@@ -29,7 +30,7 @@
--with-install-prefix=$startdir/pkg
fi
make || return 1
- make -j1 install
+ make install
mkdir -p $startdir/pkg/lib
cd $startdir/pkg/usr/lib
mv libncurses.so.$pkgver ../../lib
@@ -52,10 +53,20 @@
--with-install-prefix=$startdir/pkg --enable-widec
fi
make || return 1
- make -j1 install
+ make install
mkdir $startdir/pkg/usr/include/ncursesw
ln -sf /usr/include/ncurses.h $startdir/pkg/usr/include/ncursesw
+ # fix library for tput, we call it in initscripts!
+ cd $startdir/pkg/usr/lib
+ mv libncursesw.so.$pkgver ../../lib
+ ln -sf ../../lib/libncursesw.so.$pkgver libncursesw.so.$pkgver
+ cd $startdir/pkg/lib
+ ln -sf libncursesw.so.$pkgver libncursesw.so.5
+
+ # install tput to /bin
+ mkdir $startdir/pkg/bin/
+ mv $startdir/pkg/usr/bin/tput $startdir/pkg/bin/tput
# install license, rip it from the readme
cd $startdir/src/$pkgname-$pkgver
More information about the arch-commits
mailing list