Commit cba3f0ac authored by Helmut Stult's avatar Helmut Stult

1.1 release

parent a3c34f8b
......@@ -2,16 +2,15 @@
# Contributor: Helmut Stult <helmut at manjaro dot org>
pkgname=optimus-manager
pkgver=1.0
pkgrel=5
_commit=994f8f435472d2cc582bc0133a346d359d492110
pkgver=1.1
pkgrel=1
pkgdesc="Management utility to handle GPU switching for Optimus laptops"
arch=('any')
url="https://github.com/Askannz/optimus-manager"
license=('MIT')
conflicts=("optimus-manager-git")
provides=("optimus-manager=$pkgver")
depends=('python' 'python-setuptools' 'python-dbus' 'mesa-demos' 'xorg-xrandr')
depends=('python3' 'python-setuptools' 'python-dbus' 'mesa-demos' 'xorg-xrandr')
optdepends=('bbswitch: alternative power switching method'
'xf86-video-intel: provides the Xorg intel driver')
makedepends=('python-setuptools' 'git')
......@@ -21,13 +20,13 @@ backup=('etc/optimus-manager/xorg-intel.conf'
'etc/optimus-manager/xsetup-nvidia.sh'
'var/lib/optimus-manager/startup_mode'
'var/lib/optimus-manager/requested_mode')
source=("git+https://github.com/Askannz/optimus-manager.git#tag=$pkgver_commit")
source=("git+https://github.com/Askannz/optimus-manager.git#tag=v$pkgver")
sha256sums=('SKIP')
build() {
cd "${srcdir}/optimus-manager/"
python setup.py build
python3 setup.py build
}
......@@ -61,6 +60,6 @@ package() {
install -Dm755 config/xsetup-intel.sh "$pkgdir/etc/optimus-manager/xsetup-intel.sh"
install -Dm755 config/xsetup-nvidia.sh "$pkgdir/etc/optimus-manager/xsetup-nvidia.sh"
python setup.py install --root="$pkgdir/" --optimize=1 --skip-build
python3 setup.py install --root="$pkgdir/" --optimize=1 --skip-build
}
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