Package Details: libtinfo 6-24

Git Clone URL: (read-only)
Package Base: libtinfo
Description: symlink to ncurses for use in cuda and other packages
Upstream URL:
Keywords: libtinfo libtinfo5
Licenses: MIT
Submitter: hav3lock
Maintainer: hav3lock
Last Packager: hav3lock
Votes: 249
Popularity: 3.852702
First Submitted: 2013-08-18 23:48
Last Updated: 2017-07-28 21:43

Latest Comments

Eschwartz commented on 2017-10-18 20:16

The latest testing/ncurses 6.0+20170902-2 includes

This package should be deleted as soon as ncurses is moved from testing to core.

Evils commented on 2017-07-28 15:18

Yes, please fix what @alive4ever said. It's making a lot of things harder

alive4ever commented on 2017-04-22 13:40

Hey, version 6.19 breaks compatibility with ncurses5-compat-libs since ncurses5-compat-libs has provided /usr/lib/ file.

You should just remove file so that this aur recipe can coexist with ncurses5-compat-libs.

hav3lock commented on 2017-04-21 15:03

@Bermond @otilmans, okay I'll fix this when I get home from work.

dbermond commented on 2017-04-21 11:55

Same error as @otilmans
error: failed to commit transaction (conflicting files)
libtinfo: /usr/lib/ exists in filesystem

Output of 'pacman -Qo /usr/lib/':
/usr/lib/ is owned by ncurses5-compat-libs 6.0+20161224-1

otilmans commented on 2017-04-21 08:31

I now get the following error when installing this package:
error: failed to commit transaction (conflicting files)
libtinfo: /usr/lib/ exists in filesystem
Errors occurred, no packages were upgraded.

Which makes sense because ths packages indeed detects libtinfo5:
Is libtinfo5 present...

However libtinfo5 defines that file here:

Which you also redefine here:

Finally, as a matter of personal taste, I'd simplify your detection to:
if pacman -Q ncurses5-compat-libs &> /dev/null ; then
msg "\tyes"

As pacman is well behaved and will return an error code if the package is not found, i.e. will take the else branch.

hav3lock commented on 2017-04-21 00:10

@everybody, I have fixed the logic. Please let me know if issues continue to occur.

r10o commented on 2017-04-17 07:02

zyguan is right. Double parentheses evaluate 0 as false and 1 as true since they're meant for integer and C-style operations. Square brackets are what you need.

zyguan commented on 2017-04-07 03:00

Hi, @hav3lock, should we use:

if [ $_libtinfo5 ]; then
ln -s /usr/lib/ "$pkgdir"/usr/lib/

`if ((0)); then echo "Y"; else echo "N"; fi;` will print "N".

hav3lock commented on 2017-03-07 02:22

@AlmuHS, isn't that what I'm already doing with `optdepends`, or did you mean something else?

All comments