upgpkg: 5.7-1

ledoian
Allan McRae 16 years ago
parent 2ca04fcd7d
commit ebee63dbae

@ -0,0 +1,5 @@
2008-11-03 Allan McRae <allan@archlinux.org>
* ncurses-5.7-1
* upstream update
* remove coverity patch (included upstream)
* enable makeflags

@ -2,23 +2,19 @@
# Contributor: judd <jvinet@zeroflux.org>
pkgname=ncurses
pkgver=5.6
pkgrel=8
pkgdesc="A System V Release 4.0 curses emulation library"
pkgver=5.7
pkgrel=1
pkgdesc="System V Release 4.0 curses emulation library"
arch=('i686' 'x86_64')
url="http://www.gnu.org/software/ncurses/ncurses.html"
url="http://www.gnu.org/software/ncurses/"
license=('MIT')
groups=('base')
depends=('glibc')
source=(ftp://ftp.gnu.org/pub/gnu/${pkgname}/${pkgname}-${pkgver}.tar.gz
ftp://invisible-island.net/ncurses/${pkgver}/${pkgname}-${pkgver}-coverity.patch.gz)
md5sums=('b6593abe1089d6aab1551c105c9300e3'
'27607b10fef869740cbcc408d86695b1')
options=(!makeflags)
source=(ftp://ftp.gnu.org/pub/gnu/${pkgname}/${pkgname}-${pkgver}.tar.gz)
md5sums=('cce05daf61a64501ef6cd8da1f727ec6')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
patch -Np1 -i ${srcdir}/${pkgname}-${pkgver}-coverity.patch
./configure --prefix=/usr --mandir=/usr/share/man \
--with-shared --with-normal --without-debug --without-ada \
@ -26,11 +22,8 @@ build() {
make || return 1
make install
# fix library permissions
chmod 644 ${pkgdir}/usr/lib/libncurses++w.a
# move libraries needed for boot to /lib (we call tput in initscripts)
mkdir -p ${pkgdir}/lib
install -dm755 ${pkgdir}/lib
mv ${pkgdir}/usr/lib/libncursesw.so.5* ${pkgdir}/lib
ln -sf ../../lib/libncursesw.so.5 ${pkgdir}/usr/lib/libncursesw.so
@ -43,7 +36,7 @@ build() {
ln -sf libncurses++w.a ${pkgdir}/usr/lib/libncurses++.a
# install tput to /bin
mkdir ${pkgdir}/bin/
install -dm755 ${pkgdir}/bin/
mv ${pkgdir}/usr/bin/tput ${pkgdir}/bin/tput
# Some packages look for -lcurses during build
@ -64,6 +57,6 @@ build() {
# install license, rip it from the readme
cd ${srcdir}/${pkgname}-${pkgver}
mkdir -p ${pkgdir}/usr/share/licenses/$pkgname
install -dm755 ${pkgdir}/usr/share/licenses/$pkgname
grep -B 100 '$Id' README > ${pkgdir}/usr/share/licenses/${pkgname}/license.txt
}

Loading…
Cancel
Save