This commit is contained in:
aliriza committed 2023-02-01 13:38:51 +00:00
1 parent 34730194cb
commit ed5bc0e83d
2 files changed
+7 -5

No files matched your search

+2 -2
View File
@@ -10,8 +10,8 @@ license=('GPLv3')
source=("https://www.openssl.org/source/openssl-$version.tar.gz" source=("https://www.openssl.org/source/openssl-$version.tar.gz"
"https://curl.haxx.se/ca/cacert.pem" "https://curl.haxx.se/ca/cacert.pem"
"update-certdata.sh") "update-certdata.sh")
depends=( ) depends=()
makedepends=( ) makedepends=(coreutils)
md5sums=('077f69d357758c7d6ef686f813e16f30' md5sums=('077f69d357758c7d6ef686f813e16f30'
'SKIP' 'SKIP'
'SKIP') 'SKIP')
+5 -3
View File
@@ -68,9 +68,11 @@ package(){
# tic and ticinfo functionality is built in by default # tic and ticinfo functionality is built in by default
# make sure that anything linking against it links against libncursesw.so instead # make sure that anything linking against it links against libncursesw.so instead
for lib in tic tinfo; do for lib in tic tinfo; do
printf "INPUT(libncursesw.so.%s)\n" "${so_ver}" > "$DESTDIR/lib64/lib${lib}.so" if ! ls "$DESTDIR/lib64/lib${lib}.so" ; then
if ! ls $DESTDIR/lib64/lib${lib}.so.${so_ver} ; then printf "INPUT(libncursesw.so.%s)\n" "${so_ver}" > "$DESTDIR/lib64/lib${lib}.so"
ln -sv libncursesw.so.${so_ver} "$DESTDIR/lib64/lib${lib}.so.${so_ver}" if ! ls $DESTDIR/lib64/lib${lib}.so.${so_ver} ; then
ln -sv libncursesw.so.${so_ver} "$DESTDIR/lib64/lib${lib}.so.${so_ver}"
fi
fi fi
if ! ls "$DESTDIR/usr/lib64/pkgconfig/${lib}.pc" ; then if ! ls "$DESTDIR/usr/lib64/pkgconfig/${lib}.pc" ; then
ln -sv ncursesw.pc "$DESTDIR/usr/lib64/pkgconfig/${lib}.pc" ln -sv ncursesw.pc "$DESTDIR/usr/lib64/pkgconfig/${lib}.pc"