[arch-commits] Commit in nvidia-utils/trunk (PKGBUILD)

Pierre Schmitz pierre at archlinux.org
Thu Jun 24 03:01:01 EDT 2010


    Date: Thursday, June 24, 2010 @ 03:01:01
  Author: pierre
Revision: 83941

upgpkg: nvidia-utils 256.35-3
-madd missing link to libs

Modified:
  nvidia-utils/trunk/PKGBUILD

----------+
 PKGBUILD |    8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-06-23 22:21:40 UTC (rev 83940)
+++ PKGBUILD	2010-06-24 07:01:01 UTC (rev 83941)
@@ -4,7 +4,7 @@
 
 pkgname=nvidia-utils
 pkgver=256.35
-pkgrel=2
+pkgrel=3
 pkgdesc="NVIDIA drivers utilities and libraries."
 arch=('i686' 'x86_64')
 url="http://www.nvidia.com/"
@@ -74,7 +74,10 @@
 	# create soname links
 	for _lib in $(find $pkgdir -name '*.so*'); do
 		_soname="$(dirname ${_lib})/$(readelf -d "$_lib" | sed -nr 's/.*Library soname: \[(.*)\].*/\1/p')"
-		[ -e "${_soname}" ] || ln -s "$(basename ${_lib})" "${_soname}"
+		if [ ! -e "${_soname}" ]; then
+			ln -s "$(basename ${_lib})" "${_soname}"
+			ln -s "$(basename ${_soname})" "${_soname/.[0-9]*/}"
+		fi
 	done
 
 
@@ -97,6 +100,7 @@
 	install -D -m644 LICENSE $pkgdir/usr/share/licenses/nvidia/LICENSE
 	ln -s nvidia $pkgdir/usr/share/licenses/nvidia-utils
 	install -D -m644 README.txt $pkgdir/usr/share/doc/nvidia/README
+	install -D -m644 NVIDIA_Changelog $pkgdir/usr/share/doc/nvidia/NVIDIA_Changelog
 	ln -s nvidia $pkgdir/usr/share/doc/nvidia-utils
 
 	# Install xorg.conf.d file for nvidia autodetection in xorg.conf-less configurations



More information about the arch-commits mailing list