diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 32 |
1 files changed, 16 insertions, 16 deletions
@@ -3,36 +3,36 @@ # pkgname=libtinfo pkgver=6 -pkgrel=23 +pkgrel=24 pkgdesc="symlink to ncurses for use in cuda and other packages" arch=('any') url="http://www.gnu.org/software/ncurses/" license=('MIT') #conflicts=('libtinfo-5') depends=('ncurses>=6.0') -optdepends=('libtinfo5: ncurses5-compat-libs') +#optdepends=('libtinfo5: ncurses5-compat-libs') _ncurses="$(pacman -Q ncurses | awk '{print $2}' | cut -c 1-3)" -_libtinfo5="$(pacman -Q ncurses5-compat-libs > /dev/null 2>&1; echo $?)" +#_libtinfo5="$(pacman -Q ncurses5-compat-libs > /dev/null 2>&1; echo $?)" package() { install -d "$pkgdir"/usr/lib ln -s /usr/lib/libncursesw.so."$_ncurses" "$pkgdir"/usr/lib/libtinfo.so."$pkgver" ln -s /usr/lib/libtinfo.so."$pkgver" "$pkgdir"/usr/lib/libtinfo.so - msg "Is ncurses5-compat-libs present..." + #msg "Is ncurses5-compat-libs present..." - if ! ((_libtinfo5)); then - msg "\tyes" - msg "Do we need to symlink to it..." - if [[ -f /usr/lib/libtinfo.so.5 ]]; then - msg "\tno" - else - msg "\tyes" - ln -s /usr/lib/libncurses.so.5 "$pkgdir"/usr/lib/libtinfo.so.5 - fi - else - msg "\tno" - fi + #if ! ((_libtinfo5)); then + #msg "\tyes" + #msg "Do we need to symlink to it..." + #if [[ -f /usr/lib/libtinfo.so.5 ]]; then + #msg "\tno" + #else + #msg "\tyes" + #ln -s /usr/lib/libncurses.so.5 "$pkgdir"/usr/lib/libtinfo.so.5 + #fi + #else + #msg "\tno" + #fi } #package_lib32_libtinfo() { |