diff options
author | root <root@rshg054.dnsready.net> | 2013-03-20 00:06:15 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-03-20 00:06:15 -0700 |
commit | 3cdbec41955c7232e91ef149f77ce9ed215a10fa (patch) | |
tree | fed17e099ae656f291e56a1d4a7be731210b6a09 /community/bbswitch | |
parent | b54c21859be3590a319ceade1f58d0b89ac5ef32 (diff) |
Wed Mar 20 00:06:15 PDT 2013
Diffstat (limited to 'community/bbswitch')
-rw-r--r-- | community/bbswitch/PKGBUILD | 15 | ||||
-rw-r--r-- | community/bbswitch/bbswitch.install | 2 |
2 files changed, 10 insertions, 7 deletions
diff --git a/community/bbswitch/PKGBUILD b/community/bbswitch/PKGBUILD index 4f9eba675..3dbf06f98 100644 --- a/community/bbswitch/PKGBUILD +++ b/community/bbswitch/PKGBUILD @@ -4,23 +4,26 @@ pkgname=bbswitch pkgver=0.5 -_extramodules=extramodules-3.7-ARCH # Don't forget to update bbswitch.install -pkgrel=2 +_extramodules=extramodules-3.8-ARCH # Don't forget to update bbswitch.install +pkgrel=3 pkgdesc="Kernel module allowing to switch dedicated graphics card on Optimus laptops" arch=('i686' 'x86_64') url=("http://github.com/Bumblebee-Project/bbswitch") license=('GPL') -depends=('linux>=3.7' 'linux<3.8') -makedepends=('linux-headers>=3.7' 'linux-headers<3.8') +depends=('linux>=3.8' 'linux<3.9') +makedepends=('linux-headers>=3.8' 'linux-headers<3.9') install=bbswitch.install -source=("https://github.com/downloads/Bumblebee-Project/bbswitch/${pkgname}-${pkgver}.tar.gz") -md5sums=('5e0e6eb9c5e8c10db56e5b349b43bba7') +source=("https://github.com/downloads/Bumblebee-Project/bbswitch/${pkgname}-${pkgver}.tar.gz" + "https://github.com/Bumblebee-Project/bbswitch/commit/5593d9519364dc7f6f28c3dd8358afb907f39c0f.patch") +md5sums=('5e0e6eb9c5e8c10db56e5b349b43bba7' + 'd76180b8f6fd092038d5ae7c71a9caa8') build() { cd ${srcdir}/${pkgname}-${pkgver} _kernver="$(cat /usr/lib/modules/${_extramodules}/version)" + patch -Np1 < ${srcdir}/5593d9519364dc7f6f28c3dd8358afb907f39c0f.patch make KDIR=/usr/src/linux-${_kernver} } diff --git a/community/bbswitch/bbswitch.install b/community/bbswitch/bbswitch.install index b19b2f9c4..1b791a89d 100644 --- a/community/bbswitch/bbswitch.install +++ b/community/bbswitch/bbswitch.install @@ -1,5 +1,5 @@ post_install() { - EXTRAMODULES='extramodules-3.7-ARCH' + EXTRAMODULES='extramodules-3.8-ARCH' depmod $(cat /usr/lib/modules/$EXTRAMODULES/version) } |