Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

bbswitch-dkms: rename dkms-bbswitch in install scripts

  • Loading branch information...
commit e8d45e37a3eb493dd0a1d165b4301d9e9de9e3ab 1 parent 0340d57
@Lekensteyn Lekensteyn authored
Showing with 4 additions and 3 deletions.
  1. +3 −2 bbswitch-dkms/PKGBUILD
  2. +1 −1  bbswitch-dkms/dkms-bbswitch.install
View
5 bbswitch-dkms/PKGBUILD
@@ -1,16 +1,17 @@
# Maintainer: Lekensteyn <lekensteyn@gmail.com>
# Contributor: Samsagax <samsagax@gmail.com>
-pkgname=dkms-bbswitch
+pkgname=bbswitch-dkms
_modname=bbswitch
pkgver=0.6
-pkgrel=1
+pkgrel=2
pkgdesc="kernel module allowing to switch dedicated graphics card on Optimus laptops, dkms version"
arch=(any)
url=("http://github.com/Bumblebee-Project/bbswitch")
license=('GPL')
provides=('bbswitch')
conflicts=('bbswitch' 'bbswitch-git')
+replaces=('bbswitch-dkms')
depends=('dkms')
source=("https://github.com/Bumblebee-Project/bbswitch/archive/v${pkgver}.tar.gz" 'dkms.conf.in')
md5sums=('c5496e3225c8e70d02a24bfd8a50faf6'
View
2  bbswitch-dkms/dkms-bbswitch.install
@@ -4,7 +4,7 @@ post_install() {
pre_upgrade() {
local curver=${2%%-*}
# $2 is unset due to a bug. Query current version using pacman as fallback
- [ -n "$curver" ] || curver=$(pacman -Qi dkms-bbswitch | awk '/^Version/{print $3}')
+ [ -n "$curver" ] || curver=$(pacman -Qi bbswitch-dkms | awk '/^Version/{print $3}')
pre_remove $curver
}
post_upgrade() {
Please sign in to comment.
Something went wrong with that request. Please try again.