summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Schwartz2018-03-08 16:21:15 -0500
committerEli Schwartz2018-03-08 16:21:15 -0500
commit445f2886b2e87392b50fea85f5d45b07450d7f6d (patch)
tree0618d09a0807efdf3afb2a80667b93cd4716d2c6
parenteb443b47a4557d15cf7cc93fd0a53b6385ff9c89 (diff)
downloadaur-libtinfo5.tar.gz
Why do people think symlinking incompatible shared libraries is a good idea.
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD6
2 files changed, 4 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 10084663ebc7..c18bf719cae0 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = libtinfo5
pkgdesc = symlink to ncurses for use in cuda and other packages (legacy)
pkgver = 5
- pkgrel = 19
+ pkgrel = 20
url = http://www.gnu.org/software/ncurses/
arch = any
license = MIT
diff --git a/PKGBUILD b/PKGBUILD
index 48696d7227d0..642ced9691db 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
pkgname=libtinfo5
pkgver=5
-pkgrel=19
+pkgrel=20
pkgdesc="symlink to ncurses for use in cuda and other packages (legacy)"
arch=('any')
url="http://www.gnu.org/software/ncurses/"
@@ -12,6 +12,6 @@ license=('MIT')
depends=('ncurses')
package() {
- install -d "${pkgdir}/usr/lib"
- ln -s "/usr/lib/libncursesw.so.6" -T "${pkgdir}/usr/lib/libtinfo.so.5"
+ error "libtinfo.so.5 is provided by ncurses5-compat-libs, please do not use dangerous symlinks"
+ return 1
}