Browse Source

ncurses5-compat-libs: add libtinfo

Signed-off-by: Steven Noonan <steven@uplinklabs.net>
master
Steven Noonan 5 years ago
parent
commit
e420473bb9
No known key found for this signature in database GPG Key ID: 7EACB44BA7B30DB9
  1. 20
      libtinfo-5/PKGBUILD
  2. 7
      ncurses5-compat-libs/PKGBUILD

20
libtinfo-5/PKGBUILD

@ -1,20 +0,0 @@
# Maintainer: Steven Noonan <steven@uplinklabs.net>
pkgname=libtinfo-5
pkgver=5
pkgrel=10
pkgdesc="symlink to ncurses for use in cuda and other packages (legacy)"
arch=('any')
url="http://www.gnu.org/software/ncurses/"
license=('unknown')
depends=('ncurses5-compat-libs')
conflicts=('libtinfo')
provides=('libtinfo')
#_ncurses="$(pacman -Q ncurses | awk '{sub(/-[0-9]+/, "", $2); print $2}')"
package() {
install -d "$pkgdir"/usr/lib
# ln -s /usr/lib/libncurses.so."$_ncurses" -T "$pkgdir"/usr/lib/libtinfo.so."$pkgver"
# ln -s /usr/lib/libtinfo.so."$pkgver" -T "$pkgdir"/usr/lib/libtinfo.so
ln -s /usr/lib/libncurses.so."$pkgver" -T "$pkgdir"/usr/lib/libtinfo.so."$pkgver"
}

7
ncurses5-compat-libs/PKGBUILD

@ -9,12 +9,15 @@
pkgname=ncurses5-compat-libs
_pkgname=ncurses
pkgver=6.0
pkgrel=3
pkgrel=4
pkgdesc='System V Release 4.0 curses emulation library, ABI 5'
arch=('i686' 'x86_64')
url='http://invisible-island.net/ncurses/ncurses.html'
license=('MIT')
depends=('glibc' 'gcc-libs' 'sh')
provides=('libtinfo-5')
conflicts=('libtinfo-5')
replaces=('libtinfo-5')
source=(http://invisible-mirror.net/archives/ncurses/ncurses-${pkgver/_/-}.tar.gz{,.asc})
md5sums=('ee13d052e1ead260d7c28071f46eefb1'
'SKIP')
@ -39,6 +42,8 @@ package() {
ln -s /usr/lib/lib${lib}w.so.5 "$pkgdir"/usr/lib/lib${lib}.so.5
done
ln -s libncursesw.so.5 "$pkgdir"/usr/lib/libtinfo.so.5
# install license, rip it from the readme
install -d "$pkgdir"/usr/share/licenses/$pkgname
grep -B 100 '$Id' README > "$pkgdir"/usr/share/licenses/$pkgname/LICENSE

Loading…
Cancel
Save