-
Notifications
You must be signed in to change notification settings - Fork 9
/
PKGBUILD
19 lines (18 loc) · 847 Bytes
/
PKGBUILD
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Maintainer: Pedro Henrique <[email protected]>
pkgname=nvidia-exec
pkgver=0.2.7
pkgrel=1
pkgdesc="Run programs in nvidia optimus setups with power management for Xorg and Wayland without log out"
arch=("x86_64")
url="https://github.com/pedro00dk/nvidia-exec#readme"
license=('GPL')
depends=('NVIDIA-MODULE' 'python' 'lshw' 'lsof')
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/pedro00dk/nvidia-exec/archive/refs/tags/v${pkgver}.tar.gz")
sha256sums=('5768004d99c29bec2062d291b59803cc129836665f569216714bca3c7765446f')
package() {
cd "${pkgname}-${pkgver}"
install -Dm 755 nvx.py "${pkgdir}/usr/bin/nvx"
install -Dm 644 nvx.service "${pkgdir}/usr/lib/systemd/system/nvx.service"
install -Dm 644 nvx-modprobe.conf "${pkgdir}/usr/lib/modprobe.d/nvx.conf"
install -Dm 666 nvx-options.conf "${pkgdir}/etc/nvx.conf"
}