[arch-commits] Commit in bbswitch/trunk (PKGBUILD bbswitch.install)

Sven-Hendrik Haase svenstaro at nymeria.archlinux.org
Sun Mar 17 03:43:55 UTC 2013


    Date: Sunday, March 17, 2013 @ 04:43:54
  Author: svenstaro
Revision: 86440

upgpkg: bbswitch 0.5-3

Rebuild for kernel 3.8

Modified:
  bbswitch/trunk/PKGBUILD
  bbswitch/trunk/bbswitch.install

------------------+
 PKGBUILD         |   15 +++++++++------
 bbswitch.install |    2 +-
 2 files changed, 10 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-03-17 03:38:47 UTC (rev 86439)
+++ PKGBUILD	2013-03-17 03:43:54 UTC (rev 86440)
@@ -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}
 }
 

Modified: bbswitch.install
===================================================================
--- bbswitch.install	2013-03-17 03:38:47 UTC (rev 86439)
+++ bbswitch.install	2013-03-17 03:43:54 UTC (rev 86440)
@@ -1,5 +1,5 @@
 post_install() {
-    EXTRAMODULES='extramodules-3.7-ARCH'
+    EXTRAMODULES='extramodules-3.8-ARCH'
     depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
 }
 




More information about the arch-commits mailing list