Commit 87b6c79f authored by abveritas's avatar abveritas

further nvidia update, lts and bumblebee

parent 87f27d2a
...@@ -6,8 +6,8 @@ ...@@ -6,8 +6,8 @@
pkgname=dkms-nvidia pkgname=dkms-nvidia
_pkgname=nvidia _pkgname=nvidia
pkgver=295.53 pkgver=302.17
pkgrel=3 pkgrel=1
pkgdesc="NVIDIA dynamic kernel module (DKMS) drivers for kernel26." pkgdesc="NVIDIA dynamic kernel module (DKMS) drivers for kernel26."
arch=(i686 x86_64) arch=(i686 x86_64)
url="http://www.nvidia.com/" url="http://www.nvidia.com/"
...@@ -22,16 +22,16 @@ options=(!strip) ...@@ -22,16 +22,16 @@ options=(!strip)
if [ "$CARCH" = "i686" ]; then if [ "$CARCH" = "i686" ]; then
_pkg="NVIDIA-Linux-x86-${pkgver}" _pkg="NVIDIA-Linux-x86-${pkgver}"
source=("http://us.download.nvidia.com/XFree86/Linux-x86/${pkgver}/${_pkg}.run") source=("http://us.download.nvidia.com/XFree86/Linux-x86/${pkgver}/${_pkg}.run")
md5sums=('af353274ab078cb90aba428ca1f00f0e') md5sums=('b7f908ea08218df08db06026215ec419')
elif [ "$CARCH" = "x86_64" ]; then elif [ "$CARCH" = "x86_64" ]; then
_arch='x86_64' _arch='x86_64'
_pkg="NVIDIA-Linux-${_arch}-${pkgver}-no-compat32" _pkg="NVIDIA-Linux-${_arch}-${pkgver}-no-compat32"
source=("http://us.download.nvidia.com/XFree86/Linux-${_arch}/${pkgver}/${_pkg}.run") source=("http://us.download.nvidia.com/XFree86/Linux-${_arch}/${pkgver}/${_pkg}.run")
md5sums=('c974ee20fc016c9fa9ef39fc2e298f8a') md5sums=('7e768412a16853078b04037a7cc9c8ac')
fi fi
source[1]="dkms.conf" source[1]="dkms.conf"
md5sums[1]='555223e467dbcc8f74481046719c2d04' md5sums[1]='d75545122b9edb649ca0d9e4bd42b92c'
build() { build() {
cd $srcdir cd $srcdir
......
PACKAGE_NAME="nvidia" PACKAGE_NAME="nvidia"
PACKAGE_VERSION="295.53" PACKAGE_VERSION="302.17"
MAKE[0]="make SYSSRC=${kernel_source_dir} module" MAKE[0]="make SYSSRC=${kernel_source_dir} module"
CLEAN="make -f Makefile.kbuild clean" CLEAN="make -f Makefile.kbuild clean"
BUILT_MODULE_NAME[0]="nvidia" BUILT_MODULE_NAME[0]="nvidia"
......
...@@ -4,9 +4,9 @@ post_install() ...@@ -4,9 +4,9 @@ post_install()
echo ">>> DKMS: Module add, build, and install " echo ">>> DKMS: Module add, build, and install "
$DKMS add -m nvidia -v '295.53' $DKMS add -m nvidia -v '302.17'
$DKMS build -m nvidia -v '295.53' $DKMS build -m nvidia -v '302.17'
$DKMS install -m nvidia -v '295.53' $DKMS install -m nvidia -v '302.17'
/sbin/depmod -a /sbin/depmod -a
} }
......
...@@ -8,8 +8,8 @@ _extramodules=extramodules-`pacman -Q linux-lts | cut -c11-13 | sed 's/linux-lts ...@@ -8,8 +8,8 @@ _extramodules=extramodules-`pacman -Q linux-lts | cut -c11-13 | sed 's/linux-lts
_kver="$(cat /lib/modules/${_extramodules}/version)" _kver="$(cat /lib/modules/${_extramodules}/version)"
pkgname=nvidia-lts pkgname=nvidia-lts
pkgver=295.53 pkgver=302.17
pkgrel=2 pkgrel=1
pkgdesc="NVIDIA drivers for linux." pkgdesc="NVIDIA drivers for linux."
arch=('i686' 'x86_64') arch=('i686' 'x86_64')
url="http://www.nvidia.com/" url="http://www.nvidia.com/"
...@@ -23,12 +23,12 @@ if [ "$CARCH" = "i686" ]; then ...@@ -23,12 +23,12 @@ if [ "$CARCH" = "i686" ]; then
_ARCH='x86' _ARCH='x86'
_pkg="NVIDIA-Linux-${_ARCH}-${pkgver}" _pkg="NVIDIA-Linux-${_ARCH}-${pkgver}"
source=("http://us.download.nvidia.com/XFree86/Linux-${_ARCH}/${pkgver}/${_pkg}.run") source=("http://us.download.nvidia.com/XFree86/Linux-${_ARCH}/${pkgver}/${_pkg}.run")
md5sums=('af353274ab078cb90aba428ca1f00f0e') md5sums=('b7f908ea08218df08db06026215ec419')
elif [ "$CARCH" = "x86_64" ]; then elif [ "$CARCH" = "x86_64" ]; then
_ARCH='x86_64' _ARCH='x86_64'
_pkg="NVIDIA-Linux-${_ARCH}-${pkgver}-no-compat32" _pkg="NVIDIA-Linux-${_ARCH}-${pkgver}-no-compat32"
source=("http://us.download.nvidia.com/XFree86/Linux-${_ARCH}/${pkgver}/${_pkg}.run") source=("http://us.download.nvidia.com/XFree86/Linux-${_ARCH}/${pkgver}/${_pkg}.run")
md5sums=('c974ee20fc016c9fa9ef39fc2e298f8a') md5sums=('7e768412a16853078b04037a7cc9c8ac')
fi fi
build() { build() {
......
...@@ -11,8 +11,8 @@ pkgname=nvidia-utils-bumblebee ...@@ -11,8 +11,8 @@ pkgname=nvidia-utils-bumblebee
# pacman --print --print-format $1 -S nvidia-utils | grep nvidia-utils # pacman --print --print-format $1 -S nvidia-utils | grep nvidia-utils
#} #}
pkgver=295.53 pkgver=302.17
pkgrel=2 pkgrel=1
pkgdesc="NVIDIA drivers utilities and libraries. Repacked and installed in different folder to be used simultaneously with libgl." pkgdesc="NVIDIA drivers utilities and libraries. Repacked and installed in different folder to be used simultaneously with libgl."
arch=('i686' 'x86_64') arch=('i686' 'x86_64')
url="http://www.nvidia.com/" url="http://www.nvidia.com/"
...@@ -27,12 +27,12 @@ if [ "$CARCH" = "i686" ]; then ...@@ -27,12 +27,12 @@ if [ "$CARCH" = "i686" ]; then
_carch='x86' _carch='x86'
_pkg="NVIDIA-Linux-${_carch}-${pkgver}" _pkg="NVIDIA-Linux-${_carch}-${pkgver}"
source=("ftp://download.nvidia.com/XFree86/Linux-${_carch}/${pkgver}/${_pkg}.run") source=("ftp://download.nvidia.com/XFree86/Linux-${_carch}/${pkgver}/${_pkg}.run")
md5sums=('af353274ab078cb90aba428ca1f00f0e') md5sums=('b7f908ea08218df08db06026215ec419')
elif [ "$CARCH" = "x86_64" ]; then elif [ "$CARCH" = "x86_64" ]; then
_carch='x86_64' _carch='x86_64'
_pkg="NVIDIA-Linux-${_carch}-${pkgver}-no-compat32" _pkg="NVIDIA-Linux-${_carch}-${pkgver}-no-compat32"
source=("ftp://download.nvidia.com/XFree86/Linux-${_carch}/${pkgver}/${_pkg}.run") source=("ftp://download.nvidia.com/XFree86/Linux-${_carch}/${pkgver}/${_pkg}.run")
md5sums=('c974ee20fc016c9fa9ef39fc2e298f8a') md5sums=('7e768412a16853078b04037a7cc9c8ac')
fi fi
create_links() { create_links() {
......
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