|
|
|
@ -3,35 +3,36 @@
|
|
|
|
|
|
|
|
|
|
_pkgbasename=ncurses
|
|
|
|
|
pkgname=lib32-${_pkgbasename}
|
|
|
|
|
pkgver=6.0
|
|
|
|
|
pkgrel=2
|
|
|
|
|
_pkgver=6.0-20170527
|
|
|
|
|
pkgver=${_pkgver/-/+}
|
|
|
|
|
pkgrel=1
|
|
|
|
|
pkgdesc="System V Release 4.0 curses emulation library (32-bit)"
|
|
|
|
|
arch=('x86_64')
|
|
|
|
|
url="http://www.gnu.org/software/ncurses/"
|
|
|
|
|
license=('MIT')
|
|
|
|
|
depends=('lib32-glibc' ${_pkgbasename})
|
|
|
|
|
makedepends=("gcc-multilib")
|
|
|
|
|
source=(ftp://invisible-island.net/${_pkgbasename}/${_pkgbasename}-${pkgver}.tar.gz{,.asc})
|
|
|
|
|
md5sums=('ee13d052e1ead260d7c28071f46eefb1'
|
|
|
|
|
source=(http://invisible-mirror.net/archives/ncurses/current/ncurses-${_pkgver}.tgz{,.asc})
|
|
|
|
|
md5sums=('c0e32e50ed6fd81af7ecc4910de9fa3f'
|
|
|
|
|
'SKIP')
|
|
|
|
|
validpgpkeys=('C52048C0C0748FEE227D47A2702353E0F7E48EDB') # Thomas Dickey
|
|
|
|
|
|
|
|
|
|
build() {
|
|
|
|
|
cd ${_pkgbasename}-${pkgver}
|
|
|
|
|
cd ${_pkgbasename}-${_pkgver}
|
|
|
|
|
|
|
|
|
|
export CC="gcc -m32"
|
|
|
|
|
export CXX="g++ -m32"
|
|
|
|
|
export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
|
|
|
|
|
|
|
|
|
|
./configure --prefix=/usr --mandir=/usr/share/man \
|
|
|
|
|
--with-pkg-config-libdir=/usr/lib32/pkgconfig \
|
|
|
|
|
--with-shared --with-normal --without-debug --without-ada \
|
|
|
|
|
--with-install-prefix=${pkgdir} --enable-widec --libdir=/usr/lib32 \
|
|
|
|
|
--enable-ext-colors --enable-ext-mouse
|
|
|
|
|
--with-install-prefix=${pkgdir} --enable-widec --libdir=/usr/lib32
|
|
|
|
|
make
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
package() {
|
|
|
|
|
cd ${_pkgbasename}-${pkgver}
|
|
|
|
|
cd ${_pkgbasename}-${_pkgver}
|
|
|
|
|
make install
|
|
|
|
|
|
|
|
|
|
install -dm755 ${pkgdir}/usr/lib32
|
|
|
|
|