summaryrefslogtreecommitdiff
path: root/community/bbswitch
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-03-23 00:06:21 -0700
committerroot <root@rshg054.dnsready.net>2013-03-23 00:06:21 -0700
commita42cd7aaabfdb3ecc0a538548e8dbcc7ca860b2d (patch)
treebbea919c4d1e7d8d747e636040d0cd510c279d68 /community/bbswitch
parent6b3123e5628817e3cef9c44989dffd21c49b0817 (diff)
Sat Mar 23 00:06:20 PDT 2013
Diffstat (limited to 'community/bbswitch')
-rw-r--r--community/bbswitch/PKGBUILD11
1 files changed, 4 insertions, 7 deletions
diff --git a/community/bbswitch/PKGBUILD b/community/bbswitch/PKGBUILD
index 3dbf06f98..9552835c9 100644
--- a/community/bbswitch/PKGBUILD
+++ b/community/bbswitch/PKGBUILD
@@ -3,9 +3,9 @@
# Contributor: Samsagax <samsagax@gmail.com>
pkgname=bbswitch
-pkgver=0.5
+pkgver=0.6
_extramodules=extramodules-3.8-ARCH # Don't forget to update bbswitch.install
-pkgrel=3
+pkgrel=1
pkgdesc="Kernel module allowing to switch dedicated graphics card on Optimus laptops"
arch=('i686' 'x86_64')
url=("http://github.com/Bumblebee-Project/bbswitch")
@@ -13,17 +13,14 @@ license=('GPL')
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"
- "https://github.com/Bumblebee-Project/bbswitch/commit/5593d9519364dc7f6f28c3dd8358afb907f39c0f.patch")
-md5sums=('5e0e6eb9c5e8c10db56e5b349b43bba7'
- 'd76180b8f6fd092038d5ae7c71a9caa8')
+source=("https://github.com/Bumblebee-Project/bbswitch/archive/v${pkgver}.tar.gz")
+md5sums=('c5496e3225c8e70d02a24bfd8a50faf6')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
_kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
- patch -Np1 < ${srcdir}/5593d9519364dc7f6f28c3dd8358afb907f39c0f.patch
make KDIR=/usr/src/linux-${_kernver}
}