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

Loading…
Cancel
Save