Commit 46b6f6bb authored by Neophytos's avatar Neophytos
Browse files

dkms-nvidia fixes

parent ffdfc8c4
......@@ -10,7 +10,7 @@ source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=dkms-nvidia
_pkgname=nvidia
pkgver=295.17
pkgrel=1
pkgrel=2
pkgdesc="NVIDIA dynamic kernel module (DKMS) drivers for kernel26."
arch=(i686 x86_64)
url="http://www.nvidia.com/"
......@@ -24,12 +24,12 @@ options=(!strip)
if [ "$CARCH" = "i686" ]; then
_pkg="NVIDIA-Linux-x86-${pkgver}"
source=("http://us.download.nvidia.com/XFree86/Linux-x86/${pkgver}/${_pkg}.run")
source=("ftp://download.nvidia.com/XFree86/Linux-x86/${pkgver}/${_pkg}.run")
md5sums=('453d7585254cb2abb486135828278e43')
elif [ "$CARCH" = "x86_64" ]; then
_arch='x86_64'
_pkg="NVIDIA-Linux-${_arch}-${pkgver}-no-compat32"
source=("http://us.download.nvidia.com/XFree86/Linux-${_arch}/${pkgver}/${_pkg}.run")
source=("ftp://download.nvidia.com/XFree86/Linux-${_arch}/${pkgver}/${_pkg}.run")
md5sums=('784480587bb000df46065a853e370ef0')
fi
......
......@@ -4,9 +4,9 @@ post_install()
echo ">>> DKMS: Module add, build, and install "
$DKMS add -m nvidia -v 290.10
$DKMS build -m nvidia -v 290.10
$DKMS install -m nvidia -v 290.10
$DKMS add -m nvidia -v 295.17
$DKMS build -m nvidia -v 295.17
$DKMS install -m nvidia -v 295.17
/sbin/depmod -a
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment