Remove unnecessary install file (we have DKMS hooks now)

master
Davi da Silva Böger 8 years ago
parent ceffa552fb
commit 3f492b4201

@ -1,11 +1,10 @@
# Generated by mksrcinfo v8
# Tue Jan 31 17:57:59 UTC 2017
# Tue Jan 31 17:58:36 UTC 2017
pkgbase = bbswitch-dkms-git
pkgdesc = kernel module allowing to switch dedicated graphics card on Optimus laptops, dkms version
pkgver = v0.8.r0.g0c38f97
pkgrel = 1
url = http://github.com/Bumblebee-Project/bbswitch
install = bbswitch-dkms-git.install
arch = i686
arch = x86_64
license = GPL

@ -13,7 +13,6 @@ provides=('bbswitch')
conflicts=('bbswitch-git' 'bbswitch' 'dkms-bbswitch')
depends=('dkms' 'linux-headers')
makedepends=('git')
install=bbswitch-dkms-git.install
_gitroot='git://github.com/Bumblebee-Project/bbswitch.git'
_gitname='bbswitch'
_gitbranch='develop'

@ -1,25 +0,0 @@
PKGVER="$(ls /usr/src/ | grep bbswitch | sed 's/^.*-//')"
_dkms="/usr/bin/dkms"
post_install() {
${_dkms} add -m "bbswitch/${PKGVER}"
${_dkms} build -m "bbswitch/${PKGVER}"
${_dkms} install -m "bbswitch/${PKGVER}"
}
post_upgrade() {
post_install
}
pre_remove() {
${_dkms} remove -m "bbswitch/${PKGVER}" --all
}
pre_upgrade() {
pre_remove
}
post_remove() {
depmod -a
}
Loading…
Cancel
Save