[arch-commits] Commit in nvidia/trunk (PKGBUILD)
Sven-Hendrik Haase
svenstaro at nymeria.archlinux.org
Thu Feb 27 14:01:20 UTC 2014
Date: Thursday, February 27, 2014 @ 15:01:20
Author: svenstaro
Revision: 206476
upgpkg: nvidia 331.49-1
upstream release 331.49
Modified:
nvidia/trunk/PKGBUILD
----------+
PKGBUILD | 25 +++++++++----------------
1 file changed, 9 insertions(+), 16 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2014-02-27 13:48:44 UTC (rev 206475)
+++ PKGBUILD 2014-02-27 14:01:20 UTC (rev 206476)
@@ -2,9 +2,9 @@
# Maintainer : Thomas Baechler <thomas at archlinux.org>
pkgname=nvidia
-pkgver=331.38
+pkgver=331.49
_extramodules=extramodules-3.13-ARCH
-pkgrel=3
+pkgrel=1
pkgdesc="NVIDIA drivers for linux"
arch=('i686' 'x86_64')
url="http://www.nvidia.com/"
@@ -14,26 +14,19 @@
license=('custom')
install=nvidia.install
options=(!strip)
-source=('nvidia_3.13_kernel.patch')
-md5sums=('90fc2d263157fa672fc8d1eb0309cb3a')
+source=("ftp://download.nvidia.com/XFree86/Linux-x86/${pkgver}/NVIDIA-Linux-x86-${pkgver}.run"
+ "ftp://download.nvidia.com/XFree86/Linux-x86_64/${pkgver}/NVIDIA-Linux-x86_64-${pkgver}-no-compat32.run")
+md5sums=('176c77f9a10eaa652860dbc24042bff2'
+ 'd0c944466a36cae8b1e23330b27a721c')
-if [ "$CARCH" = "i686" ]; then
- _arch='x86'
- _pkg="NVIDIA-Linux-${_arch}-${pkgver}"
- source+=("ftp://download.nvidia.com/XFree86/Linux-${_arch}/${pkgver}/${_pkg}.run")
- md5sums+=('16aa229f7f118c8cafad6fb3f4ac082e')
-elif [ "$CARCH" = "x86_64" ]; then
- _arch='x86_64'
- _pkg="NVIDIA-Linux-${_arch}-${pkgver}-no-compat32"
- source+=("ftp://download.nvidia.com/XFree86/Linux-${_arch}/${pkgver}/${_pkg}.run")
- md5sums+=('f2059ae373665cb6c8fb826e1173b04d')
-fi
+[[ "$CARCH" = "i686" ]] && _pkg="NVIDIA-Linux-x86-${pkgver}"
+[[ "$CARCH" = "x86_64" ]] && _pkg="NVIDIA-Linux-x86_64-${pkgver}-no-compat32"
prepare() {
cd "${srcdir}"
sh "${_pkg}.run" --extract-only
cd "${_pkg}"
- patch -p1 -i "${srcdir}"/nvidia_3.13_kernel.patch
+ # patches here
}
build() {
More information about the arch-commits
mailing list