Commit c8bc9944 authored by Neophytos's avatar Neophytos
Browse files

nvidia-utils-bumblebee was not updated before, but now

parent 9e070416
# Platform Packages for Chakra, part of chakra-project.org
#
# Maintainer: Neophytos Kolokotronis <tetris4@gmail.com>
# Contributor: Samsagax <samsagax@gmail.com>
# Contributor: borman <borisov.mikhail@gmail.com>
# Contributions from AUR: https://aur.archlinux.org/packages/nvidia-utils-bumblebee/
pkgname=nvidia-utils-bumblebee
#_pacman_get_key()
#{
# pacman --print --print-format $1 -S nvidia-utils | grep nvidia-utils
#}
pkgver=313.18
pkgrel=2
pkgrel=3
pkgdesc="NVIDIA drivers utilities and libraries. Repacked and installed in different folder to be used simultaneously with libgl."
arch=('x86_64')
url="http://www.nvidia.com/"
depends=('xorg-server' 'libxvmc' "dkms-nvidia=$pkgver" "opencl-nvidia=$pkgver")
optdepends=('gtk2: nvidia-settings' 'pkgconfig: nvidia-xconfig')
depends=('xorg-server' 'pango')
optdepends=('gtk2: nvidia-settings' 'pkgconfig: nvidia-xconfig' 'opencl-nvidia: OpenCL support')
conflicts=('nvidia-utils' 'nvidia-settings')
provides=("nvidia-utils=$pkgver" 'nvidia-settings')
license=('custom')
install=nvidia.install
source=("ftp://download.nvidia.com/XFree86/Linux-x86_64/${pkgver}/NVIDIA-Linux-x86_64-${pkgver}-no-compat32.run")
md5sums=('fa17a260793a38b4b8ae367db2e03b39')
_carch='x86_64'
_pkg="NVIDIA-Linux-${_carch}-${pkgver}-no-compat32"
source=("ftp://download.nvidia.com/XFree86/Linux-${_carch}/${pkgver}/${_pkg}.run")
md5sums=('fa17a260793a38b4b8ae367db2e03b39')
create_links() {
# create soname links
......@@ -39,11 +31,11 @@ create_links() {
build() {
cd "${srcdir}"
sh "${_pkg}.run" --extract-only
sh "NVIDIA-Linux-x86_64-${pkgver}-no-compat32.run" --extract-only
}
package() {
cd "${srcdir}/${_pkg}"
cd "${srcdir}/NVIDIA-Linux-x86_64-${pkgver}-no-compat32"
# X driver
install -D -m755 nvidia_drv.so "${pkgdir}/usr/lib/xorg/modules/drivers/nvidia_drv.so"
# GLX extension module for X
......@@ -60,7 +52,9 @@ package() {
install -D -m755 "libnvidia-cfg.so.${pkgver}" "${pkgdir}/usr/lib/libnvidia-cfg.so.${pkgver}"
install -D -m755 "libnvidia-ml.so.${pkgver}" "${pkgdir}/usr/lib/libnvidia-ml.so.${pkgver}"
# CUDA
install -D -m755 "libcuda.so.${pkgver}" "${pkgdir}/usr/lib/libcuda.so.${pkgver}"
install -D -m755 "libnvcuvid.so.${pkgver}" "${pkgdir}/usr/lib/libnvcuvid.so.${pkgver}"
# nvidia-xconfig
install -D -m755 nvidia-xconfig "${pkgdir}/usr/bin/nvidia-xconfig"
install -D -m644 nvidia-xconfig.1.gz "${pkgdir}/usr/share/man/man1/nvidia-xconfig.1.gz"
......
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