blob: fbba65b9d170a363c2bd650995321d33bc021be0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
# Maintainer: Feresey <p.milko1999@yandex.ru>
pkgname=prime
pkgdesc="PRIME Render Offload Launcher. Please visit https://download.nvidia.com/XFree86/Linux-x86_64/435.21/README/primerenderoffload.html to manually configure your Device."
url="https://download.nvidia.com/XFree86/Linux-x86_64/435.21/README/primerenderoffload.html"
pkgver=1.0
pkgrel=3
arch=('any')
# license=("nothing")
conflicts=(bumblebee optimus-manager)
depends=(sh)
optdepends=(
"vulkan-intel: for vulkan support"
"lib32-vulkan-intel: for vulkan support"
"zsh: zsh completion")
source=(prime
prime.install
10-nvidia.conf
zsh_prime
bash_prime)
md5sums=('38b57e5495ec64786f0b80084b58d471'
'f74097bd14e4a71b9b47f6cbd03eedf4'
'84d31e7be165f77f6c58fe638b4670cb'
'bbc3d71244a5fc5d4d6caeea941ff91f'
'6597766f7fb79d6d030fbbe20f06e7f0')
install=prime.install
package()
{
mkdir -p "${pkgdir}"/usr/bin/
mkdir -p "${pkgdir}"/usr/share/X11/xorg.conf.d/
mkdir -p "${pkgdir}"/usr/share/zsh/site-functions/
mkdir -p "${pkgdir}"/usr/share/bash-completion/completions
install -m a+xr ./prime "${pkgdir}"/usr/bin/
install 10-nvidia.conf "${pkgdir}"/usr/share/X11/xorg.conf.d/
install zsh_prime "${pkgdir}"/usr/share/zsh/site-functions/_prime
install bash_prime "${pkgdir}"/usr/share/zsh/site-functions/prime
}
|