[arch-commits] Commit in nvidia-340xx-utils/trunk (PKGBUILD)
Sven-Hendrik Haase
svenstaro at archlinux.org
Sun Jan 7 12:14:52 UTC 2018
Date: Sunday, January 7, 2018 @ 12:14:51
Author: svenstaro
Revision: 314190
upgpkg: nvidia-340xx-utils 340.104-3
Fix warning (FS#56904)
Modified:
nvidia-340xx-utils/trunk/PKGBUILD
----------+
PKGBUILD | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-01-07 11:25:37 UTC (rev 314189)
+++ PKGBUILD 2018-01-07 12:14:51 UTC (rev 314190)
@@ -6,7 +6,7 @@
pkgbase=nvidia-340xx-utils
pkgname=('nvidia-340xx-utils' 'opencl-nvidia-340xx')
pkgver=340.104
-pkgrel=2
+pkgrel=3
arch=('x86_64')
url="http://www.nvidia.com/"
license=('custom')
@@ -23,7 +23,7 @@
create_links() {
# create soname links
- for _lib in $(find "${pkgdir}" -name '*.so*' | grep -v 'xorg/'); do
+ for _lib in $(find "${pkgdir}" -type f -name '*.so*' | grep -v 'xorg/'); do
_soname=$(dirname "${_lib}")/$(readelf -d "${_lib}" | grep -Po 'SONAME.*: \[\K[^]]*' || true)
_base=$(echo ${_soname} | sed -r 's/(.*).so.*/\1.so/')
[[ -e "${_soname}" ]] || ln -s $(basename "${_lib}") "${_soname}"
More information about the arch-commits
mailing list