ncurses update
This commit is contained in:
1 parent
9959052ee9
commit
96fd46dd5d
1 file changed
+13
-14
+13
-14
@@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
name='ncurses'
|
||||
release='2'
|
||||
version='6.4'
|
||||
release='3'
|
||||
version='6.5'
|
||||
url='https://invisible-island.net/ncurses/ncurses.html'
|
||||
description="System V Release 4.0 curses emulation library"
|
||||
email='parduscix@yandex.ru'
|
||||
@@ -9,7 +9,7 @@ maintainer='sulincix'
|
||||
license=('MIT')
|
||||
arch=(x86_64)
|
||||
source=("https://invisible-mirror.net/archives/$name/$name-$version.tar.gz")
|
||||
md5sums=('5a62487b5d4ac6b132fe2bf9f8fad29b')
|
||||
sha256sums=('136d91bc269a9a5785e5f9e980bc76ab57428f604ce3e5a5a90cebc767971cc6')
|
||||
depends=()
|
||||
so_ver=6
|
||||
group=(sys.libs)
|
||||
@@ -17,7 +17,6 @@ group=(sys.libs)
|
||||
cd $name-$version
|
||||
|
||||
setup(){
|
||||
cp -prf ../$name-$version ../widec
|
||||
opts=(--prefix=/usr
|
||||
--libdir=/lib64
|
||||
--enable-pc-files
|
||||
@@ -27,28 +26,28 @@ setup(){
|
||||
--with-xterm-kbs=del
|
||||
--without-ada
|
||||
--with-pkg-config-libdir=/usr/lib64/pkgconfig
|
||||
--with-cxx-binding
|
||||
--disable-root-access
|
||||
--disable-root-environ
|
||||
--disable-setuid-environ
|
||||
--with-cxx-shared
|
||||
--enable-widec
|
||||
)
|
||||
./configure ${opts[@]}
|
||||
cd ../widec
|
||||
./configure ${opts[@]} --enable-widec \
|
||||
--with-cxx-binding \
|
||||
--with-cxx-shared
|
||||
}
|
||||
|
||||
build(){
|
||||
cd ../widec
|
||||
make $jobs
|
||||
cd ../$name-$version
|
||||
make $jobs
|
||||
|
||||
}
|
||||
|
||||
package(){
|
||||
cd ../widec
|
||||
make $jobs install
|
||||
cd ../$name-$version
|
||||
make $jobs install
|
||||
|
||||
ln -sv libncursesw.so $DESTDIR/lib64/libncurses.so
|
||||
ln -sv libncursesw.so.6 $DESTDIR/lib64/libncurses.so.6
|
||||
sed -e 's/^#if.*XOPEN.*$/#if 1/' -i $DESTDIR/usr/include/curses.h
|
||||
|
||||
mkdir -p "$DESTDIR/lib64/" "$DESTDIR/usr/lib64/pkgconfig/"
|
||||
for lib in ncurses ncurses++ form panel menu; do
|
||||
if ! ls "$DESTDIR/lib64/lib${lib}.so" ; then
|
||||
|
||||
Reference in new issue
Block a user