blob: 69d4a3cdb7daa47412658136d1978275d0c2ad2e (
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
|
# Maintainer: Victor Bayas <victorsbayas at gmail dot com>
# Contributor: Victor Bayas <victorsbayas at gmail dot com>
pkgname=envycontrol
pkgver=3.5.1
pkgrel=1
pkgdesc="CLI tool for Nvidia Optimus graphics mode switching on Linux"
arch=('any')
url="https://github.com/bayasdev/envycontrol"
license=('MIT')
depends=('python' 'xorg-xrandr')
makedepends=('python-setuptools' 'git')
conflicts=('optimus-manager')
source=("git+https://github.com/bayasdev/envycontrol.git#tag=v$pkgver")
sha256sums=('SKIP')
package() {
cd "${srcdir}/envycontrol/"
python setup.py install --root="$pkgdir/" --optimize=1
# Copy package license to system
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
|