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