diff --git a/.SRCINFO b/.SRCINFO index 7b4ded6..31f6fa9 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -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 diff --git a/PKGBUILD b/PKGBUILD index 3755a90..588a2f8 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -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' diff --git a/bbswitch-dkms-git.install b/bbswitch-dkms-git.install deleted file mode 100644 index 2748873..0000000 --- a/bbswitch-dkms-git.install +++ /dev/null @@ -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 -}