[arch-commits] Commit in bbswitch/repos (6 files)

2017-10-12 Thread Tobias Powalowski
Date: Thursday, October 12, 2017 @ 13:35:24
  Author: tpowa
Revision: 262443

archrelease: copy trunk to community-testing-i686, community-testing-x86_64

Added:
  bbswitch/repos/community-testing-i686/
  bbswitch/repos/community-testing-i686/PKGBUILD
(from rev 262442, bbswitch/trunk/PKGBUILD)
  bbswitch/repos/community-testing-i686/bbswitch.install
(from rev 262442, bbswitch/trunk/bbswitch.install)
  bbswitch/repos/community-testing-x86_64/
  bbswitch/repos/community-testing-x86_64/PKGBUILD
(from rev 262442, bbswitch/trunk/PKGBUILD)
  bbswitch/repos/community-testing-x86_64/bbswitch.install
(from rev 262442, bbswitch/trunk/bbswitch.install)

---+
 community-testing-i686/PKGBUILD   |   47 
 community-testing-i686/bbswitch.install   |   12 +++
 community-testing-x86_64/PKGBUILD |   47 
 community-testing-x86_64/bbswitch.install |   12 +++
 4 files changed, 118 insertions(+)

Copied: bbswitch/repos/community-testing-i686/PKGBUILD (from rev 262442, 
bbswitch/trunk/PKGBUILD)
===
--- community-testing-i686/PKGBUILD (rev 0)
+++ community-testing-i686/PKGBUILD 2017-10-12 13:35:24 UTC (rev 262443)
@@ -0,0 +1,47 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: M0Rf30
+# Contributor: Samsagax 
+
+pkgbase=bbswitch
+pkgname=(bbswitch bbswitch-dkms)
+pkgver=0.8
+_extramodules=extramodules-4.13-ARCH # Don't forget to update bbswitch.install
+pkgrel=81
+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')
+makedepends=('linux-headers>=4.13' 'linux-headers<4.14' 'linux>=4.13' 
'linux<4.14')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/Bumblebee-Project/bbswitch/archive/v${pkgver}.tar.gz";)
+md5sums=('5b116b31ace3604ddf9d1fc1f4bc5807')
+
+build() {
+  cd ${srcdir}/${pkgbase}-${pkgver}
+
+  _kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
+
+  make KDIR=/lib/modules/${_kernver}/build
+}
+
+package_bbswitch() {
+  depends=('linux>=4.13' 'linux<4.14')
+  install=bbswitch.install
+
+  cd ${srcdir}/${pkgbase}-${pkgver}
+
+  install -Dm644 bbswitch.ko 
"${pkgdir}"/usr/lib/modules/${_extramodules}/bbswitch.ko
+  gzip "${pkgdir}/usr/lib/modules/${_extramodules}/bbswitch.ko"
+}
+
+package_bbswitch-dkms() {
+  depends=('dkms')
+  conflicts=('bbswitch')
+  provides=('bbswitch')
+
+  cd ${srcdir}/${pkgbase}-${pkgver}
+
+  install -dm755 "${pkgdir}/usr/src/${pkgbase}-${pkgver}/"
+
+  install -Dm644 Makefile bbswitch.c dkms/dkms.conf 
"${pkgdir}/usr/src/${pkgbase}-${pkgver}/"
+}

Copied: bbswitch/repos/community-testing-i686/bbswitch.install (from rev 
262442, bbswitch/trunk/bbswitch.install)
===
--- community-testing-i686/bbswitch.install (rev 0)
+++ community-testing-i686/bbswitch.install 2017-10-12 13:35:24 UTC (rev 
262443)
@@ -0,0 +1,12 @@
+post_install() {
+EXTRAMODULES='extramodules-4.13-ARCH'
+depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+}
+
+post_upgrade() {
+post_install
+}
+
+post_remove() {
+post_install
+}

Copied: bbswitch/repos/community-testing-x86_64/PKGBUILD (from rev 262442, 
bbswitch/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2017-10-12 13:35:24 UTC (rev 262443)
@@ -0,0 +1,47 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: M0Rf30
+# Contributor: Samsagax 
+
+pkgbase=bbswitch
+pkgname=(bbswitch bbswitch-dkms)
+pkgver=0.8
+_extramodules=extramodules-4.13-ARCH # Don't forget to update bbswitch.install
+pkgrel=81
+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')
+makedepends=('linux-headers>=4.13' 'linux-headers<4.14' 'linux>=4.13' 
'linux<4.14')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/Bumblebee-Project/bbswitch/archive/v${pkgver}.tar.gz";)
+md5sums=('5b116b31ace3604ddf9d1fc1f4bc5807')
+
+build() {
+  cd ${srcdir}/${pkgbase}-${pkgver}
+
+  _kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
+
+  make KDIR=/lib/modules/${_kernver}/build
+}
+
+package_bbswitch() {
+  depends=('linux>=4.13' 'linux<4.14')
+  install=bbswitch.install
+
+  cd ${srcdir}/${pkgbase}-${pkgver}
+
+  install -Dm644 bbswitch.ko 
"${pkgdir}"/usr/lib/modules/${_extramodules}/bbswitch.ko
+  gzip "${pkgdir}/usr/lib/modules/${_extramodules}/bbswitch.ko"
+}
+
+package_bbswitch-dkms() {
+  depends=('dkms')
+  conflicts=('bbswitch')
+  provides=('bbswitch')
+
+  cd ${srcdir}/${pkgbase}-${pkgver}
+
+  install -dm755 "${pkgdir}/usr/src/$

[arch-commits] Commit in bbswitch/repos (6 files)

2017-09-10 Thread Jan Steffens
Date: Sunday, September 10, 2017 @ 23:15:02
  Author: heftig
Revision: 256845

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  bbswitch/repos/community-staging-i686/
  bbswitch/repos/community-staging-i686/PKGBUILD
(from rev 256844, bbswitch/trunk/PKGBUILD)
  bbswitch/repos/community-staging-i686/bbswitch.install
(from rev 256844, bbswitch/trunk/bbswitch.install)
  bbswitch/repos/community-staging-x86_64/
  bbswitch/repos/community-staging-x86_64/PKGBUILD
(from rev 256844, bbswitch/trunk/PKGBUILD)
  bbswitch/repos/community-staging-x86_64/bbswitch.install
(from rev 256844, bbswitch/trunk/bbswitch.install)

---+
 community-staging-i686/PKGBUILD   |   47 
 community-staging-i686/bbswitch.install   |   12 +++
 community-staging-x86_64/PKGBUILD |   47 
 community-staging-x86_64/bbswitch.install |   12 +++
 4 files changed, 118 insertions(+)

Copied: bbswitch/repos/community-staging-i686/PKGBUILD (from rev 256844, 
bbswitch/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2017-09-10 23:15:02 UTC (rev 256845)
@@ -0,0 +1,47 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: M0Rf30
+# Contributor: Samsagax 
+
+pkgbase=bbswitch
+pkgname=(bbswitch bbswitch-dkms)
+pkgver=0.8
+_extramodules=extramodules-4.13-ARCH # Don't forget to update bbswitch.install
+pkgrel=79
+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')
+makedepends=('linux-headers>=4.13' 'linux-headers<4.14' 'linux>=4.13' 
'linux<4.14')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/Bumblebee-Project/bbswitch/archive/v${pkgver}.tar.gz";)
+md5sums=('5b116b31ace3604ddf9d1fc1f4bc5807')
+
+build() {
+  cd ${srcdir}/${pkgbase}-${pkgver}
+
+  _kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
+
+  make KDIR=/lib/modules/${_kernver}/build
+}
+
+package_bbswitch() {
+  depends=('linux>=4.13' 'linux<4.14')
+  install=bbswitch.install
+
+  cd ${srcdir}/${pkgbase}-${pkgver}
+
+  install -Dm644 bbswitch.ko 
"${pkgdir}"/usr/lib/modules/${_extramodules}/bbswitch.ko
+  gzip "${pkgdir}/usr/lib/modules/${_extramodules}/bbswitch.ko"
+}
+
+package_bbswitch-dkms() {
+  depends=('dkms')
+  conflicts=('bbswitch')
+  provides=('bbswitch')
+
+  cd ${srcdir}/${pkgbase}-${pkgver}
+
+  install -dm755 "${pkgdir}/usr/src/${pkgbase}-${pkgver}/"
+
+  install -Dm644 Makefile bbswitch.c dkms/dkms.conf 
"${pkgdir}/usr/src/${pkgbase}-${pkgver}/"
+}

Copied: bbswitch/repos/community-staging-i686/bbswitch.install (from rev 
256844, bbswitch/trunk/bbswitch.install)
===
--- community-staging-i686/bbswitch.install (rev 0)
+++ community-staging-i686/bbswitch.install 2017-09-10 23:15:02 UTC (rev 
256845)
@@ -0,0 +1,12 @@
+post_install() {
+EXTRAMODULES='extramodules-4.13-ARCH'
+depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+}
+
+post_upgrade() {
+post_install
+}
+
+post_remove() {
+post_install
+}

Copied: bbswitch/repos/community-staging-x86_64/PKGBUILD (from rev 256844, 
bbswitch/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2017-09-10 23:15:02 UTC (rev 256845)
@@ -0,0 +1,47 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: M0Rf30
+# Contributor: Samsagax 
+
+pkgbase=bbswitch
+pkgname=(bbswitch bbswitch-dkms)
+pkgver=0.8
+_extramodules=extramodules-4.13-ARCH # Don't forget to update bbswitch.install
+pkgrel=79
+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')
+makedepends=('linux-headers>=4.13' 'linux-headers<4.14' 'linux>=4.13' 
'linux<4.14')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/Bumblebee-Project/bbswitch/archive/v${pkgver}.tar.gz";)
+md5sums=('5b116b31ace3604ddf9d1fc1f4bc5807')
+
+build() {
+  cd ${srcdir}/${pkgbase}-${pkgver}
+
+  _kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
+
+  make KDIR=/lib/modules/${_kernver}/build
+}
+
+package_bbswitch() {
+  depends=('linux>=4.13' 'linux<4.14')
+  install=bbswitch.install
+
+  cd ${srcdir}/${pkgbase}-${pkgver}
+
+  install -Dm644 bbswitch.ko 
"${pkgdir}"/usr/lib/modules/${_extramodules}/bbswitch.ko
+  gzip "${pkgdir}/usr/lib/modules/${_extramodules}/bbswitch.ko"
+}
+
+package_bbswitch-dkms() {
+  depends=('dkms')
+  conflicts=('bbswitch')
+  provides=('bbswitch')
+
+  cd ${srcdir}/${pkgbase}-${pkgver}
+
+  install -dm755 "${pkgdir}/usr/src/

[arch-commits] Commit in bbswitch/repos (6 files)

2017-09-05 Thread Tobias Powalowski
Date: Tuesday, September 5, 2017 @ 07:07:23
  Author: tpowa
Revision: 255703

archrelease: copy trunk to community-testing-i686, community-testing-x86_64

Added:
  bbswitch/repos/community-testing-i686/
  bbswitch/repos/community-testing-i686/PKGBUILD
(from rev 255702, bbswitch/trunk/PKGBUILD)
  bbswitch/repos/community-testing-i686/bbswitch.install
(from rev 255702, bbswitch/trunk/bbswitch.install)
  bbswitch/repos/community-testing-x86_64/
  bbswitch/repos/community-testing-x86_64/PKGBUILD
(from rev 255702, bbswitch/trunk/PKGBUILD)
  bbswitch/repos/community-testing-x86_64/bbswitch.install
(from rev 255702, bbswitch/trunk/bbswitch.install)

---+
 community-testing-i686/PKGBUILD   |   47 
 community-testing-i686/bbswitch.install   |   12 +++
 community-testing-x86_64/PKGBUILD |   47 
 community-testing-x86_64/bbswitch.install |   12 +++
 4 files changed, 118 insertions(+)

Copied: bbswitch/repos/community-testing-i686/PKGBUILD (from rev 255702, 
bbswitch/trunk/PKGBUILD)
===
--- community-testing-i686/PKGBUILD (rev 0)
+++ community-testing-i686/PKGBUILD 2017-09-05 07:07:23 UTC (rev 255703)
@@ -0,0 +1,47 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: M0Rf30
+# Contributor: Samsagax 
+
+pkgbase=bbswitch
+pkgname=(bbswitch bbswitch-dkms)
+pkgver=0.8
+_extramodules=extramodules-4.12-ARCH # Don't forget to update bbswitch.install
+pkgrel=78
+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')
+makedepends=('linux-headers>=4.12' 'linux-headers<4.13' 'linux>=4.12' 
'linux<4.13')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/Bumblebee-Project/bbswitch/archive/v${pkgver}.tar.gz";)
+md5sums=('5b116b31ace3604ddf9d1fc1f4bc5807')
+
+build() {
+  cd ${srcdir}/${pkgbase}-${pkgver}
+
+  _kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
+
+  make KDIR=/lib/modules/${_kernver}/build
+}
+
+package_bbswitch() {
+  depends=('linux>=4.12' 'linux<4.13')
+  install=bbswitch.install
+
+  cd ${srcdir}/${pkgbase}-${pkgver}
+
+  install -Dm644 bbswitch.ko 
"${pkgdir}"/usr/lib/modules/${_extramodules}/bbswitch.ko
+  gzip "${pkgdir}/usr/lib/modules/${_extramodules}/bbswitch.ko"
+}
+
+package_bbswitch-dkms() {
+  depends=('dkms')
+  conflicts=('bbswitch')
+  provides=('bbswitch')
+
+  cd ${srcdir}/${pkgbase}-${pkgver}
+
+  install -dm755 "${pkgdir}/usr/src/${pkgbase}-${pkgver}/"
+
+  install -Dm644 Makefile bbswitch.c dkms/dkms.conf 
"${pkgdir}/usr/src/${pkgbase}-${pkgver}/"
+}

Copied: bbswitch/repos/community-testing-i686/bbswitch.install (from rev 
255702, bbswitch/trunk/bbswitch.install)
===
--- community-testing-i686/bbswitch.install (rev 0)
+++ community-testing-i686/bbswitch.install 2017-09-05 07:07:23 UTC (rev 
255703)
@@ -0,0 +1,12 @@
+post_install() {
+EXTRAMODULES='extramodules-4.12-ARCH'
+depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+}
+
+post_upgrade() {
+post_install
+}
+
+post_remove() {
+post_install
+}

Copied: bbswitch/repos/community-testing-x86_64/PKGBUILD (from rev 255702, 
bbswitch/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2017-09-05 07:07:23 UTC (rev 255703)
@@ -0,0 +1,47 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: M0Rf30
+# Contributor: Samsagax 
+
+pkgbase=bbswitch
+pkgname=(bbswitch bbswitch-dkms)
+pkgver=0.8
+_extramodules=extramodules-4.12-ARCH # Don't forget to update bbswitch.install
+pkgrel=78
+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')
+makedepends=('linux-headers>=4.12' 'linux-headers<4.13' 'linux>=4.12' 
'linux<4.13')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/Bumblebee-Project/bbswitch/archive/v${pkgver}.tar.gz";)
+md5sums=('5b116b31ace3604ddf9d1fc1f4bc5807')
+
+build() {
+  cd ${srcdir}/${pkgbase}-${pkgver}
+
+  _kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
+
+  make KDIR=/lib/modules/${_kernver}/build
+}
+
+package_bbswitch() {
+  depends=('linux>=4.12' 'linux<4.13')
+  install=bbswitch.install
+
+  cd ${srcdir}/${pkgbase}-${pkgver}
+
+  install -Dm644 bbswitch.ko 
"${pkgdir}"/usr/lib/modules/${_extramodules}/bbswitch.ko
+  gzip "${pkgdir}/usr/lib/modules/${_extramodules}/bbswitch.ko"
+}
+
+package_bbswitch-dkms() {
+  depends=('dkms')
+  conflicts=('bbswitch')
+  provides=('bbswitch')
+
+  cd ${srcdir}/${pkgbase}-${pkgver}
+
+  install -dm755 "${pkgdir}/usr/src/$

[arch-commits] Commit in bbswitch/repos (6 files)

2017-08-17 Thread Tobias Powalowski
Date: Thursday, August 17, 2017 @ 15:56:09
  Author: tpowa
Revision: 251719

archrelease: copy trunk to community-testing-i686, community-testing-x86_64

Added:
  bbswitch/repos/community-testing-i686/
  bbswitch/repos/community-testing-i686/PKGBUILD
(from rev 251718, bbswitch/trunk/PKGBUILD)
  bbswitch/repos/community-testing-i686/bbswitch.install
(from rev 251718, bbswitch/trunk/bbswitch.install)
  bbswitch/repos/community-testing-x86_64/
  bbswitch/repos/community-testing-x86_64/PKGBUILD
(from rev 251718, bbswitch/trunk/PKGBUILD)
  bbswitch/repos/community-testing-x86_64/bbswitch.install
(from rev 251718, bbswitch/trunk/bbswitch.install)

---+
 community-testing-i686/PKGBUILD   |   47 
 community-testing-i686/bbswitch.install   |   12 +++
 community-testing-x86_64/PKGBUILD |   47 
 community-testing-x86_64/bbswitch.install |   12 +++
 4 files changed, 118 insertions(+)

Copied: bbswitch/repos/community-testing-i686/PKGBUILD (from rev 251718, 
bbswitch/trunk/PKGBUILD)
===
--- community-testing-i686/PKGBUILD (rev 0)
+++ community-testing-i686/PKGBUILD 2017-08-17 15:56:09 UTC (rev 251719)
@@ -0,0 +1,47 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: M0Rf30
+# Contributor: Samsagax 
+
+pkgbase=bbswitch
+pkgname=(bbswitch bbswitch-dkms)
+pkgver=0.8
+_extramodules=extramodules-4.12-ARCH # Don't forget to update bbswitch.install
+pkgrel=77
+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')
+makedepends=('linux-headers>=4.12' 'linux-headers<4.13' 'linux>=4.12' 
'linux<4.13')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/Bumblebee-Project/bbswitch/archive/v${pkgver}.tar.gz";)
+md5sums=('5b116b31ace3604ddf9d1fc1f4bc5807')
+
+build() {
+  cd ${srcdir}/${pkgbase}-${pkgver}
+
+  _kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
+
+  make KDIR=/lib/modules/${_kernver}/build
+}
+
+package_bbswitch() {
+  depends=('linux>=4.12' 'linux<4.13')
+  install=bbswitch.install
+
+  cd ${srcdir}/${pkgbase}-${pkgver}
+
+  install -Dm644 bbswitch.ko 
"${pkgdir}"/usr/lib/modules/${_extramodules}/bbswitch.ko
+  gzip "${pkgdir}/usr/lib/modules/${_extramodules}/bbswitch.ko"
+}
+
+package_bbswitch-dkms() {
+  depends=('dkms')
+  conflicts=('bbswitch')
+  provides=('bbswitch')
+
+  cd ${srcdir}/${pkgbase}-${pkgver}
+
+  install -dm755 "${pkgdir}/usr/src/${pkgbase}-${pkgver}/"
+
+  install -Dm644 Makefile bbswitch.c dkms/dkms.conf 
"${pkgdir}/usr/src/${pkgbase}-${pkgver}/"
+}

Copied: bbswitch/repos/community-testing-i686/bbswitch.install (from rev 
251718, bbswitch/trunk/bbswitch.install)
===
--- community-testing-i686/bbswitch.install (rev 0)
+++ community-testing-i686/bbswitch.install 2017-08-17 15:56:09 UTC (rev 
251719)
@@ -0,0 +1,12 @@
+post_install() {
+EXTRAMODULES='extramodules-4.12-ARCH'
+depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+}
+
+post_upgrade() {
+post_install
+}
+
+post_remove() {
+post_install
+}

Copied: bbswitch/repos/community-testing-x86_64/PKGBUILD (from rev 251718, 
bbswitch/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2017-08-17 15:56:09 UTC (rev 251719)
@@ -0,0 +1,47 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: M0Rf30
+# Contributor: Samsagax 
+
+pkgbase=bbswitch
+pkgname=(bbswitch bbswitch-dkms)
+pkgver=0.8
+_extramodules=extramodules-4.12-ARCH # Don't forget to update bbswitch.install
+pkgrel=77
+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')
+makedepends=('linux-headers>=4.12' 'linux-headers<4.13' 'linux>=4.12' 
'linux<4.13')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/Bumblebee-Project/bbswitch/archive/v${pkgver}.tar.gz";)
+md5sums=('5b116b31ace3604ddf9d1fc1f4bc5807')
+
+build() {
+  cd ${srcdir}/${pkgbase}-${pkgver}
+
+  _kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
+
+  make KDIR=/lib/modules/${_kernver}/build
+}
+
+package_bbswitch() {
+  depends=('linux>=4.12' 'linux<4.13')
+  install=bbswitch.install
+
+  cd ${srcdir}/${pkgbase}-${pkgver}
+
+  install -Dm644 bbswitch.ko 
"${pkgdir}"/usr/lib/modules/${_extramodules}/bbswitch.ko
+  gzip "${pkgdir}/usr/lib/modules/${_extramodules}/bbswitch.ko"
+}
+
+package_bbswitch-dkms() {
+  depends=('dkms')
+  conflicts=('bbswitch')
+  provides=('bbswitch')
+
+  cd ${srcdir}/${pkgbase}-${pkgver}
+
+  install -dm755 "${pkgdir}/usr/src/${

[arch-commits] Commit in bbswitch/repos (6 files)

2017-08-12 Thread Tobias Powalowski
Date: Saturday, August 12, 2017 @ 10:06:33
  Author: tpowa
Revision: 249988

archrelease: copy trunk to community-testing-i686, community-testing-x86_64

Added:
  bbswitch/repos/community-testing-i686/
  bbswitch/repos/community-testing-i686/PKGBUILD
(from rev 249987, bbswitch/trunk/PKGBUILD)
  bbswitch/repos/community-testing-i686/bbswitch.install
(from rev 249987, bbswitch/trunk/bbswitch.install)
  bbswitch/repos/community-testing-x86_64/
  bbswitch/repos/community-testing-x86_64/PKGBUILD
(from rev 249987, bbswitch/trunk/PKGBUILD)
  bbswitch/repos/community-testing-x86_64/bbswitch.install
(from rev 249987, bbswitch/trunk/bbswitch.install)

---+
 community-testing-i686/PKGBUILD   |   47 
 community-testing-i686/bbswitch.install   |   12 +++
 community-testing-x86_64/PKGBUILD |   47 
 community-testing-x86_64/bbswitch.install |   12 +++
 4 files changed, 118 insertions(+)

Copied: bbswitch/repos/community-testing-i686/PKGBUILD (from rev 249987, 
bbswitch/trunk/PKGBUILD)
===
--- community-testing-i686/PKGBUILD (rev 0)
+++ community-testing-i686/PKGBUILD 2017-08-12 10:06:33 UTC (rev 249988)
@@ -0,0 +1,47 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: M0Rf30
+# Contributor: Samsagax 
+
+pkgbase=bbswitch
+pkgname=(bbswitch bbswitch-dkms)
+pkgver=0.8
+_extramodules=extramodules-4.12-ARCH # Don't forget to update bbswitch.install
+pkgrel=76
+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')
+makedepends=('linux-headers>=4.12' 'linux-headers<4.13' 'linux>=4.12' 
'linux<4.13')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/Bumblebee-Project/bbswitch/archive/v${pkgver}.tar.gz";)
+md5sums=('5b116b31ace3604ddf9d1fc1f4bc5807')
+
+build() {
+  cd ${srcdir}/${pkgbase}-${pkgver}
+
+  _kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
+
+  make KDIR=/lib/modules/${_kernver}/build
+}
+
+package_bbswitch() {
+  depends=('linux>=4.12' 'linux<4.13')
+  install=bbswitch.install
+
+  cd ${srcdir}/${pkgbase}-${pkgver}
+
+  install -Dm644 bbswitch.ko 
"${pkgdir}"/usr/lib/modules/${_extramodules}/bbswitch.ko
+  gzip "${pkgdir}/usr/lib/modules/${_extramodules}/bbswitch.ko"
+}
+
+package_bbswitch-dkms() {
+  depends=('dkms')
+  conflicts=('bbswitch')
+  provides=('bbswitch')
+
+  cd ${srcdir}/${pkgbase}-${pkgver}
+
+  install -dm755 "${pkgdir}/usr/src/${pkgbase}-${pkgver}/"
+
+  install -Dm644 Makefile bbswitch.c dkms/dkms.conf 
"${pkgdir}/usr/src/${pkgbase}-${pkgver}/"
+}

Copied: bbswitch/repos/community-testing-i686/bbswitch.install (from rev 
249987, bbswitch/trunk/bbswitch.install)
===
--- community-testing-i686/bbswitch.install (rev 0)
+++ community-testing-i686/bbswitch.install 2017-08-12 10:06:33 UTC (rev 
249988)
@@ -0,0 +1,12 @@
+post_install() {
+EXTRAMODULES='extramodules-4.12-ARCH'
+depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+}
+
+post_upgrade() {
+post_install
+}
+
+post_remove() {
+post_install
+}

Copied: bbswitch/repos/community-testing-x86_64/PKGBUILD (from rev 249987, 
bbswitch/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2017-08-12 10:06:33 UTC (rev 249988)
@@ -0,0 +1,47 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: M0Rf30
+# Contributor: Samsagax 
+
+pkgbase=bbswitch
+pkgname=(bbswitch bbswitch-dkms)
+pkgver=0.8
+_extramodules=extramodules-4.12-ARCH # Don't forget to update bbswitch.install
+pkgrel=76
+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')
+makedepends=('linux-headers>=4.12' 'linux-headers<4.13' 'linux>=4.12' 
'linux<4.13')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/Bumblebee-Project/bbswitch/archive/v${pkgver}.tar.gz";)
+md5sums=('5b116b31ace3604ddf9d1fc1f4bc5807')
+
+build() {
+  cd ${srcdir}/${pkgbase}-${pkgver}
+
+  _kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
+
+  make KDIR=/lib/modules/${_kernver}/build
+}
+
+package_bbswitch() {
+  depends=('linux>=4.12' 'linux<4.13')
+  install=bbswitch.install
+
+  cd ${srcdir}/${pkgbase}-${pkgver}
+
+  install -Dm644 bbswitch.ko 
"${pkgdir}"/usr/lib/modules/${_extramodules}/bbswitch.ko
+  gzip "${pkgdir}/usr/lib/modules/${_extramodules}/bbswitch.ko"
+}
+
+package_bbswitch-dkms() {
+  depends=('dkms')
+  conflicts=('bbswitch')
+  provides=('bbswitch')
+
+  cd ${srcdir}/${pkgbase}-${pkgver}
+
+  install -dm755 "${pkgdir}/usr/src/${

[arch-commits] Commit in bbswitch/repos (6 files)

2017-07-29 Thread Jan Steffens
Date: Saturday, July 29, 2017 @ 10:37:19
  Author: heftig
Revision: 246780

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  bbswitch/repos/community-staging-i686/
  bbswitch/repos/community-staging-i686/PKGBUILD
(from rev 246779, bbswitch/trunk/PKGBUILD)
  bbswitch/repos/community-staging-i686/bbswitch.install
(from rev 246779, bbswitch/trunk/bbswitch.install)
  bbswitch/repos/community-staging-x86_64/
  bbswitch/repos/community-staging-x86_64/PKGBUILD
(from rev 246779, bbswitch/trunk/PKGBUILD)
  bbswitch/repos/community-staging-x86_64/bbswitch.install
(from rev 246779, bbswitch/trunk/bbswitch.install)

---+
 community-staging-i686/PKGBUILD   |   47 
 community-staging-i686/bbswitch.install   |   12 +++
 community-staging-x86_64/PKGBUILD |   47 
 community-staging-x86_64/bbswitch.install |   12 +++
 4 files changed, 118 insertions(+)

Copied: bbswitch/repos/community-staging-i686/PKGBUILD (from rev 246779, 
bbswitch/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2017-07-29 10:37:19 UTC (rev 246780)
@@ -0,0 +1,47 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: M0Rf30
+# Contributor: Samsagax 
+
+pkgbase=bbswitch
+pkgname=(bbswitch bbswitch-dkms)
+pkgver=0.8
+_extramodules=extramodules-4.12-ARCH # Don't forget to update bbswitch.install
+pkgrel=75
+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')
+makedepends=('linux-headers>=4.12' 'linux-headers<4.13' 'linux>=4.12' 
'linux<4.13')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/Bumblebee-Project/bbswitch/archive/v${pkgver}.tar.gz";)
+md5sums=('5b116b31ace3604ddf9d1fc1f4bc5807')
+
+build() {
+  cd ${srcdir}/${pkgbase}-${pkgver}
+
+  _kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
+
+  make KDIR=/lib/modules/${_kernver}/build
+}
+
+package_bbswitch() {
+  depends=('linux>=4.12' 'linux<4.13')
+  install=bbswitch.install
+
+  cd ${srcdir}/${pkgbase}-${pkgver}
+
+  install -Dm644 bbswitch.ko 
"${pkgdir}"/usr/lib/modules/${_extramodules}/bbswitch.ko
+  gzip "${pkgdir}/usr/lib/modules/${_extramodules}/bbswitch.ko"
+}
+
+package_bbswitch-dkms() {
+  depends=('dkms')
+  conflicts=('bbswitch')
+  provides=('bbswitch')
+
+  cd ${srcdir}/${pkgbase}-${pkgver}
+
+  install -dm755 "${pkgdir}/usr/src/${pkgbase}-${pkgver}/"
+
+  install -Dm644 Makefile bbswitch.c dkms/dkms.conf 
"${pkgdir}/usr/src/${pkgbase}-${pkgver}/"
+}

Copied: bbswitch/repos/community-staging-i686/bbswitch.install (from rev 
246779, bbswitch/trunk/bbswitch.install)
===
--- community-staging-i686/bbswitch.install (rev 0)
+++ community-staging-i686/bbswitch.install 2017-07-29 10:37:19 UTC (rev 
246780)
@@ -0,0 +1,12 @@
+post_install() {
+EXTRAMODULES='extramodules-4.12-ARCH'
+depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+}
+
+post_upgrade() {
+post_install
+}
+
+post_remove() {
+post_install
+}

Copied: bbswitch/repos/community-staging-x86_64/PKGBUILD (from rev 246779, 
bbswitch/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2017-07-29 10:37:19 UTC (rev 246780)
@@ -0,0 +1,47 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: M0Rf30
+# Contributor: Samsagax 
+
+pkgbase=bbswitch
+pkgname=(bbswitch bbswitch-dkms)
+pkgver=0.8
+_extramodules=extramodules-4.12-ARCH # Don't forget to update bbswitch.install
+pkgrel=75
+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')
+makedepends=('linux-headers>=4.12' 'linux-headers<4.13' 'linux>=4.12' 
'linux<4.13')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/Bumblebee-Project/bbswitch/archive/v${pkgver}.tar.gz";)
+md5sums=('5b116b31ace3604ddf9d1fc1f4bc5807')
+
+build() {
+  cd ${srcdir}/${pkgbase}-${pkgver}
+
+  _kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
+
+  make KDIR=/lib/modules/${_kernver}/build
+}
+
+package_bbswitch() {
+  depends=('linux>=4.12' 'linux<4.13')
+  install=bbswitch.install
+
+  cd ${srcdir}/${pkgbase}-${pkgver}
+
+  install -Dm644 bbswitch.ko 
"${pkgdir}"/usr/lib/modules/${_extramodules}/bbswitch.ko
+  gzip "${pkgdir}/usr/lib/modules/${_extramodules}/bbswitch.ko"
+}
+
+package_bbswitch-dkms() {
+  depends=('dkms')
+  conflicts=('bbswitch')
+  provides=('bbswitch')
+
+  cd ${srcdir}/${pkgbase}-${pkgver}
+
+  install -dm755 "${pkgdir}/usr/src/${p

[arch-commits] Commit in bbswitch/repos (6 files)

2017-07-22 Thread Jan Steffens
Date: Saturday, July 22, 2017 @ 17:53:41
  Author: heftig
Revision: 246005

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  bbswitch/repos/community-staging-i686/
  bbswitch/repos/community-staging-i686/PKGBUILD
(from rev 246004, bbswitch/trunk/PKGBUILD)
  bbswitch/repos/community-staging-i686/bbswitch.install
(from rev 246004, bbswitch/trunk/bbswitch.install)
  bbswitch/repos/community-staging-x86_64/
  bbswitch/repos/community-staging-x86_64/PKGBUILD
(from rev 246004, bbswitch/trunk/PKGBUILD)
  bbswitch/repos/community-staging-x86_64/bbswitch.install
(from rev 246004, bbswitch/trunk/bbswitch.install)

---+
 community-staging-i686/PKGBUILD   |   47 
 community-staging-i686/bbswitch.install   |   12 +++
 community-staging-x86_64/PKGBUILD |   47 
 community-staging-x86_64/bbswitch.install |   12 +++
 4 files changed, 118 insertions(+)

Copied: bbswitch/repos/community-staging-i686/PKGBUILD (from rev 246004, 
bbswitch/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2017-07-22 17:53:41 UTC (rev 246005)
@@ -0,0 +1,47 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: M0Rf30
+# Contributor: Samsagax 
+
+pkgbase=bbswitch
+pkgname=(bbswitch bbswitch-dkms)
+pkgver=0.8
+_extramodules=extramodules-4.12-ARCH # Don't forget to update bbswitch.install
+pkgrel=74
+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')
+makedepends=('linux-headers>=4.12' 'linux-headers<4.13' 'linux>=4.12' 
'linux<4.13')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/Bumblebee-Project/bbswitch/archive/v${pkgver}.tar.gz";)
+md5sums=('5b116b31ace3604ddf9d1fc1f4bc5807')
+
+build() {
+  cd ${srcdir}/${pkgbase}-${pkgver}
+
+  _kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
+
+  make KDIR=/lib/modules/${_kernver}/build
+}
+
+package_bbswitch() {
+  depends=('linux>=4.12' 'linux<4.13')
+  install=bbswitch.install
+
+  cd ${srcdir}/${pkgbase}-${pkgver}
+
+  install -Dm644 bbswitch.ko 
"${pkgdir}"/usr/lib/modules/${_extramodules}/bbswitch.ko
+  gzip "${pkgdir}/usr/lib/modules/${_extramodules}/bbswitch.ko"
+}
+
+package_bbswitch-dkms() {
+  depends=('dkms')
+  conflicts=('bbswitch')
+  provides=('bbswitch')
+
+  cd ${srcdir}/${pkgbase}-${pkgver}
+
+  install -dm755 "${pkgdir}/usr/src/${pkgbase}-${pkgver}/"
+
+  install -Dm644 Makefile bbswitch.c dkms/dkms.conf 
"${pkgdir}/usr/src/${pkgbase}-${pkgver}/"
+}

Copied: bbswitch/repos/community-staging-i686/bbswitch.install (from rev 
246004, bbswitch/trunk/bbswitch.install)
===
--- community-staging-i686/bbswitch.install (rev 0)
+++ community-staging-i686/bbswitch.install 2017-07-22 17:53:41 UTC (rev 
246005)
@@ -0,0 +1,12 @@
+post_install() {
+EXTRAMODULES='extramodules-4.12-ARCH'
+depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+}
+
+post_upgrade() {
+post_install
+}
+
+post_remove() {
+post_install
+}

Copied: bbswitch/repos/community-staging-x86_64/PKGBUILD (from rev 246004, 
bbswitch/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2017-07-22 17:53:41 UTC (rev 246005)
@@ -0,0 +1,47 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: M0Rf30
+# Contributor: Samsagax 
+
+pkgbase=bbswitch
+pkgname=(bbswitch bbswitch-dkms)
+pkgver=0.8
+_extramodules=extramodules-4.12-ARCH # Don't forget to update bbswitch.install
+pkgrel=74
+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')
+makedepends=('linux-headers>=4.12' 'linux-headers<4.13' 'linux>=4.12' 
'linux<4.13')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/Bumblebee-Project/bbswitch/archive/v${pkgver}.tar.gz";)
+md5sums=('5b116b31ace3604ddf9d1fc1f4bc5807')
+
+build() {
+  cd ${srcdir}/${pkgbase}-${pkgver}
+
+  _kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
+
+  make KDIR=/lib/modules/${_kernver}/build
+}
+
+package_bbswitch() {
+  depends=('linux>=4.12' 'linux<4.13')
+  install=bbswitch.install
+
+  cd ${srcdir}/${pkgbase}-${pkgver}
+
+  install -Dm644 bbswitch.ko 
"${pkgdir}"/usr/lib/modules/${_extramodules}/bbswitch.ko
+  gzip "${pkgdir}/usr/lib/modules/${_extramodules}/bbswitch.ko"
+}
+
+package_bbswitch-dkms() {
+  depends=('dkms')
+  conflicts=('bbswitch')
+  provides=('bbswitch')
+
+  cd ${srcdir}/${pkgbase}-${pkgver}
+
+  install -dm755 "${pkgdir}/usr/src/${p

[arch-commits] Commit in bbswitch/repos (6 files)

2017-07-15 Thread Jan Steffens
Date: Saturday, July 15, 2017 @ 22:06:40
  Author: heftig
Revision: 245263

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  bbswitch/repos/community-staging-i686/
  bbswitch/repos/community-staging-i686/PKGBUILD
(from rev 245262, bbswitch/trunk/PKGBUILD)
  bbswitch/repos/community-staging-i686/bbswitch.install
(from rev 245262, bbswitch/trunk/bbswitch.install)
  bbswitch/repos/community-staging-x86_64/
  bbswitch/repos/community-staging-x86_64/PKGBUILD
(from rev 245262, bbswitch/trunk/PKGBUILD)
  bbswitch/repos/community-staging-x86_64/bbswitch.install
(from rev 245262, bbswitch/trunk/bbswitch.install)

---+
 community-staging-i686/PKGBUILD   |   47 
 community-staging-i686/bbswitch.install   |   12 +++
 community-staging-x86_64/PKGBUILD |   47 
 community-staging-x86_64/bbswitch.install |   12 +++
 4 files changed, 118 insertions(+)

Copied: bbswitch/repos/community-staging-i686/PKGBUILD (from rev 245262, 
bbswitch/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2017-07-15 22:06:40 UTC (rev 245263)
@@ -0,0 +1,47 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: M0Rf30
+# Contributor: Samsagax 
+
+pkgbase=bbswitch
+pkgname=(bbswitch bbswitch-dkms)
+pkgver=0.8
+_extramodules=extramodules-4.12-ARCH # Don't forget to update bbswitch.install
+pkgrel=73
+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')
+makedepends=('linux-headers>=4.12' 'linux-headers<4.13' 'linux>=4.12' 
'linux<4.13')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/Bumblebee-Project/bbswitch/archive/v${pkgver}.tar.gz";)
+md5sums=('5b116b31ace3604ddf9d1fc1f4bc5807')
+
+build() {
+  cd ${srcdir}/${pkgbase}-${pkgver}
+
+  _kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
+
+  make KDIR=/lib/modules/${_kernver}/build
+}
+
+package_bbswitch() {
+  depends=('linux>=4.12' 'linux<4.13')
+  install=bbswitch.install
+
+  cd ${srcdir}/${pkgbase}-${pkgver}
+
+  install -Dm644 bbswitch.ko 
"${pkgdir}"/usr/lib/modules/${_extramodules}/bbswitch.ko
+  gzip "${pkgdir}/usr/lib/modules/${_extramodules}/bbswitch.ko"
+}
+
+package_bbswitch-dkms() {
+  depends=('dkms')
+  conflicts=('bbswitch')
+  provides=('bbswitch')
+
+  cd ${srcdir}/${pkgbase}-${pkgver}
+
+  install -dm755 "${pkgdir}/usr/src/${pkgbase}-${pkgver}/"
+
+  install -Dm644 Makefile bbswitch.c dkms/dkms.conf 
"${pkgdir}/usr/src/${pkgbase}-${pkgver}/"
+}

Copied: bbswitch/repos/community-staging-i686/bbswitch.install (from rev 
245262, bbswitch/trunk/bbswitch.install)
===
--- community-staging-i686/bbswitch.install (rev 0)
+++ community-staging-i686/bbswitch.install 2017-07-15 22:06:40 UTC (rev 
245263)
@@ -0,0 +1,12 @@
+post_install() {
+EXTRAMODULES='extramodules-4.12-ARCH'
+depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+}
+
+post_upgrade() {
+post_install
+}
+
+post_remove() {
+post_install
+}

Copied: bbswitch/repos/community-staging-x86_64/PKGBUILD (from rev 245262, 
bbswitch/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2017-07-15 22:06:40 UTC (rev 245263)
@@ -0,0 +1,47 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: M0Rf30
+# Contributor: Samsagax 
+
+pkgbase=bbswitch
+pkgname=(bbswitch bbswitch-dkms)
+pkgver=0.8
+_extramodules=extramodules-4.12-ARCH # Don't forget to update bbswitch.install
+pkgrel=73
+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')
+makedepends=('linux-headers>=4.12' 'linux-headers<4.13' 'linux>=4.12' 
'linux<4.13')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/Bumblebee-Project/bbswitch/archive/v${pkgver}.tar.gz";)
+md5sums=('5b116b31ace3604ddf9d1fc1f4bc5807')
+
+build() {
+  cd ${srcdir}/${pkgbase}-${pkgver}
+
+  _kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
+
+  make KDIR=/lib/modules/${_kernver}/build
+}
+
+package_bbswitch() {
+  depends=('linux>=4.12' 'linux<4.13')
+  install=bbswitch.install
+
+  cd ${srcdir}/${pkgbase}-${pkgver}
+
+  install -Dm644 bbswitch.ko 
"${pkgdir}"/usr/lib/modules/${_extramodules}/bbswitch.ko
+  gzip "${pkgdir}/usr/lib/modules/${_extramodules}/bbswitch.ko"
+}
+
+package_bbswitch-dkms() {
+  depends=('dkms')
+  conflicts=('bbswitch')
+  provides=('bbswitch')
+
+  cd ${srcdir}/${pkgbase}-${pkgver}
+
+  install -dm755 "${pkgdir}/usr/src/${p

[arch-commits] Commit in bbswitch/repos (6 files)

2017-07-13 Thread Jan Steffens
Date: Thursday, July 13, 2017 @ 19:57:19
  Author: heftig
Revision: 245007

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  bbswitch/repos/community-staging-i686/
  bbswitch/repos/community-staging-i686/PKGBUILD
(from rev 245006, bbswitch/trunk/PKGBUILD)
  bbswitch/repos/community-staging-i686/bbswitch.install
(from rev 245006, bbswitch/trunk/bbswitch.install)
  bbswitch/repos/community-staging-x86_64/
  bbswitch/repos/community-staging-x86_64/PKGBUILD
(from rev 245006, bbswitch/trunk/PKGBUILD)
  bbswitch/repos/community-staging-x86_64/bbswitch.install
(from rev 245006, bbswitch/trunk/bbswitch.install)

---+
 community-staging-i686/PKGBUILD   |   47 
 community-staging-i686/bbswitch.install   |   12 +++
 community-staging-x86_64/PKGBUILD |   47 
 community-staging-x86_64/bbswitch.install |   12 +++
 4 files changed, 118 insertions(+)

Copied: bbswitch/repos/community-staging-i686/PKGBUILD (from rev 245006, 
bbswitch/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2017-07-13 19:57:19 UTC (rev 245007)
@@ -0,0 +1,47 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: M0Rf30
+# Contributor: Samsagax 
+
+pkgbase=bbswitch
+pkgname=(bbswitch bbswitch-dkms)
+pkgver=0.8
+_extramodules=extramodules-4.12-ARCH # Don't forget to update bbswitch.install
+pkgrel=72
+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')
+makedepends=('linux-headers>=4.12' 'linux-headers<4.13' 'linux>=4.12' 
'linux<4.13')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/Bumblebee-Project/bbswitch/archive/v${pkgver}.tar.gz";)
+md5sums=('5b116b31ace3604ddf9d1fc1f4bc5807')
+
+build() {
+  cd ${srcdir}/${pkgbase}-${pkgver}
+
+  _kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
+
+  make KDIR=/lib/modules/${_kernver}/build
+}
+
+package_bbswitch() {
+  depends=('linux>=4.12' 'linux<4.13')
+  install=bbswitch.install
+
+  cd ${srcdir}/${pkgbase}-${pkgver}
+
+  install -Dm644 bbswitch.ko 
"${pkgdir}"/usr/lib/modules/${_extramodules}/bbswitch.ko
+  gzip "${pkgdir}/usr/lib/modules/${_extramodules}/bbswitch.ko"
+}
+
+package_bbswitch-dkms() {
+  depends=('dkms')
+  conflicts=('bbswitch')
+  provides=('bbswitch')
+
+  cd ${srcdir}/${pkgbase}-${pkgver}
+
+  install -dm755 "${pkgdir}/usr/src/${pkgbase}-${pkgver}/"
+
+  install -Dm644 Makefile bbswitch.c dkms/dkms.conf 
"${pkgdir}/usr/src/${pkgbase}-${pkgver}/"
+}

Copied: bbswitch/repos/community-staging-i686/bbswitch.install (from rev 
245006, bbswitch/trunk/bbswitch.install)
===
--- community-staging-i686/bbswitch.install (rev 0)
+++ community-staging-i686/bbswitch.install 2017-07-13 19:57:19 UTC (rev 
245007)
@@ -0,0 +1,12 @@
+post_install() {
+EXTRAMODULES='extramodules-4.12-ARCH'
+depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+}
+
+post_upgrade() {
+post_install
+}
+
+post_remove() {
+post_install
+}

Copied: bbswitch/repos/community-staging-x86_64/PKGBUILD (from rev 245006, 
bbswitch/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2017-07-13 19:57:19 UTC (rev 245007)
@@ -0,0 +1,47 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: M0Rf30
+# Contributor: Samsagax 
+
+pkgbase=bbswitch
+pkgname=(bbswitch bbswitch-dkms)
+pkgver=0.8
+_extramodules=extramodules-4.12-ARCH # Don't forget to update bbswitch.install
+pkgrel=72
+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')
+makedepends=('linux-headers>=4.12' 'linux-headers<4.13' 'linux>=4.12' 
'linux<4.13')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/Bumblebee-Project/bbswitch/archive/v${pkgver}.tar.gz";)
+md5sums=('5b116b31ace3604ddf9d1fc1f4bc5807')
+
+build() {
+  cd ${srcdir}/${pkgbase}-${pkgver}
+
+  _kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
+
+  make KDIR=/lib/modules/${_kernver}/build
+}
+
+package_bbswitch() {
+  depends=('linux>=4.12' 'linux<4.13')
+  install=bbswitch.install
+
+  cd ${srcdir}/${pkgbase}-${pkgver}
+
+  install -Dm644 bbswitch.ko 
"${pkgdir}"/usr/lib/modules/${_extramodules}/bbswitch.ko
+  gzip "${pkgdir}/usr/lib/modules/${_extramodules}/bbswitch.ko"
+}
+
+package_bbswitch-dkms() {
+  depends=('dkms')
+  conflicts=('bbswitch')
+  provides=('bbswitch')
+
+  cd ${srcdir}/${pkgbase}-${pkgver}
+
+  install -dm755 "${pkgdir}/usr/src/${p

[arch-commits] Commit in bbswitch/repos (6 files)

2017-07-13 Thread Jan Steffens
Date: Thursday, July 13, 2017 @ 13:08:55
  Author: heftig
Revision: 244956

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  bbswitch/repos/community-staging-i686/
  bbswitch/repos/community-staging-i686/PKGBUILD
(from rev 244955, bbswitch/trunk/PKGBUILD)
  bbswitch/repos/community-staging-i686/bbswitch.install
(from rev 244955, bbswitch/trunk/bbswitch.install)
  bbswitch/repos/community-staging-x86_64/
  bbswitch/repos/community-staging-x86_64/PKGBUILD
(from rev 244955, bbswitch/trunk/PKGBUILD)
  bbswitch/repos/community-staging-x86_64/bbswitch.install
(from rev 244955, bbswitch/trunk/bbswitch.install)

---+
 community-staging-i686/PKGBUILD   |   47 
 community-staging-i686/bbswitch.install   |   12 +++
 community-staging-x86_64/PKGBUILD |   47 
 community-staging-x86_64/bbswitch.install |   12 +++
 4 files changed, 118 insertions(+)

Copied: bbswitch/repos/community-staging-i686/PKGBUILD (from rev 244955, 
bbswitch/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2017-07-13 13:08:55 UTC (rev 244956)
@@ -0,0 +1,47 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: M0Rf30
+# Contributor: Samsagax 
+
+pkgbase=bbswitch
+pkgname=(bbswitch bbswitch-dkms)
+pkgver=0.8
+_extramodules=extramodules-4.12-ARCH # Don't forget to update bbswitch.install
+pkgrel=71
+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')
+makedepends=('linux-headers>=4.12' 'linux-headers<4.13' 'linux>=4.12' 
'linux<4.13')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/Bumblebee-Project/bbswitch/archive/v${pkgver}.tar.gz";)
+md5sums=('5b116b31ace3604ddf9d1fc1f4bc5807')
+
+build() {
+  cd ${srcdir}/${pkgbase}-${pkgver}
+
+  _kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
+
+  make KDIR=/lib/modules/${_kernver}/build
+}
+
+package_bbswitch() {
+  depends=('linux>=4.12' 'linux<4.13')
+  install=bbswitch.install
+
+  cd ${srcdir}/${pkgbase}-${pkgver}
+
+  install -Dm644 bbswitch.ko 
"${pkgdir}"/usr/lib/modules/${_extramodules}/bbswitch.ko
+  gzip "${pkgdir}/usr/lib/modules/${_extramodules}/bbswitch.ko"
+}
+
+package_bbswitch-dkms() {
+  depends=('dkms')
+  conflicts=('bbswitch')
+  provides=('bbswitch')
+
+  cd ${srcdir}/${pkgbase}-${pkgver}
+
+  install -dm755 "${pkgdir}/usr/src/${pkgbase}-${pkgver}/"
+
+  install -Dm644 Makefile bbswitch.c dkms/dkms.conf 
"${pkgdir}/usr/src/${pkgbase}-${pkgver}/"
+}

Copied: bbswitch/repos/community-staging-i686/bbswitch.install (from rev 
244955, bbswitch/trunk/bbswitch.install)
===
--- community-staging-i686/bbswitch.install (rev 0)
+++ community-staging-i686/bbswitch.install 2017-07-13 13:08:55 UTC (rev 
244956)
@@ -0,0 +1,12 @@
+post_install() {
+EXTRAMODULES='extramodules-4.12-ARCH'
+depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+}
+
+post_upgrade() {
+post_install
+}
+
+post_remove() {
+post_install
+}

Copied: bbswitch/repos/community-staging-x86_64/PKGBUILD (from rev 244955, 
bbswitch/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2017-07-13 13:08:55 UTC (rev 244956)
@@ -0,0 +1,47 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: M0Rf30
+# Contributor: Samsagax 
+
+pkgbase=bbswitch
+pkgname=(bbswitch bbswitch-dkms)
+pkgver=0.8
+_extramodules=extramodules-4.12-ARCH # Don't forget to update bbswitch.install
+pkgrel=71
+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')
+makedepends=('linux-headers>=4.12' 'linux-headers<4.13' 'linux>=4.12' 
'linux<4.13')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/Bumblebee-Project/bbswitch/archive/v${pkgver}.tar.gz";)
+md5sums=('5b116b31ace3604ddf9d1fc1f4bc5807')
+
+build() {
+  cd ${srcdir}/${pkgbase}-${pkgver}
+
+  _kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
+
+  make KDIR=/lib/modules/${_kernver}/build
+}
+
+package_bbswitch() {
+  depends=('linux>=4.12' 'linux<4.13')
+  install=bbswitch.install
+
+  cd ${srcdir}/${pkgbase}-${pkgver}
+
+  install -Dm644 bbswitch.ko 
"${pkgdir}"/usr/lib/modules/${_extramodules}/bbswitch.ko
+  gzip "${pkgdir}/usr/lib/modules/${_extramodules}/bbswitch.ko"
+}
+
+package_bbswitch-dkms() {
+  depends=('dkms')
+  conflicts=('bbswitch')
+  provides=('bbswitch')
+
+  cd ${srcdir}/${pkgbase}-${pkgver}
+
+  install -dm755 "${pkgdir}/usr/src/${p

[arch-commits] Commit in bbswitch/repos (6 files)

2017-07-05 Thread Tobias Powalowski
Date: Wednesday, July 5, 2017 @ 15:49:02
  Author: tpowa
Revision: 242400

archrelease: copy trunk to community-testing-i686, community-testing-x86_64

Added:
  bbswitch/repos/community-testing-i686/
  bbswitch/repos/community-testing-i686/PKGBUILD
(from rev 242399, bbswitch/trunk/PKGBUILD)
  bbswitch/repos/community-testing-i686/bbswitch.install
(from rev 242399, bbswitch/trunk/bbswitch.install)
  bbswitch/repos/community-testing-x86_64/
  bbswitch/repos/community-testing-x86_64/PKGBUILD
(from rev 242399, bbswitch/trunk/PKGBUILD)
  bbswitch/repos/community-testing-x86_64/bbswitch.install
(from rev 242399, bbswitch/trunk/bbswitch.install)

---+
 community-testing-i686/PKGBUILD   |   47 
 community-testing-i686/bbswitch.install   |   12 +++
 community-testing-x86_64/PKGBUILD |   47 
 community-testing-x86_64/bbswitch.install |   12 +++
 4 files changed, 118 insertions(+)

Copied: bbswitch/repos/community-testing-i686/PKGBUILD (from rev 242399, 
bbswitch/trunk/PKGBUILD)
===
--- community-testing-i686/PKGBUILD (rev 0)
+++ community-testing-i686/PKGBUILD 2017-07-05 15:49:02 UTC (rev 242400)
@@ -0,0 +1,47 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: M0Rf30
+# Contributor: Samsagax 
+
+pkgbase=bbswitch
+pkgname=(bbswitch bbswitch-dkms)
+pkgver=0.8
+_extramodules=extramodules-4.11-ARCH # Don't forget to update bbswitch.install
+pkgrel=70
+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')
+makedepends=('linux-headers>=4.11' 'linux-headers<4.12' 'linux>=4.11' 
'linux<4.12')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/Bumblebee-Project/bbswitch/archive/v${pkgver}.tar.gz";)
+md5sums=('5b116b31ace3604ddf9d1fc1f4bc5807')
+
+build() {
+  cd ${srcdir}/${pkgbase}-${pkgver}
+
+  _kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
+
+  make KDIR=/lib/modules/${_kernver}/build
+}
+
+package_bbswitch() {
+  depends=('linux>=4.11' 'linux<4.12')
+  install=bbswitch.install
+
+  cd ${srcdir}/${pkgbase}-${pkgver}
+
+  install -Dm644 bbswitch.ko 
"${pkgdir}"/usr/lib/modules/${_extramodules}/bbswitch.ko
+  gzip "${pkgdir}/usr/lib/modules/${_extramodules}/bbswitch.ko"
+}
+
+package_bbswitch-dkms() {
+  depends=('dkms')
+  conflicts=('bbswitch')
+  provides=('bbswitch')
+
+  cd ${srcdir}/${pkgbase}-${pkgver}
+
+  install -dm755 "${pkgdir}/usr/src/${pkgbase}-${pkgver}/"
+
+  install -Dm644 Makefile bbswitch.c dkms/dkms.conf 
"${pkgdir}/usr/src/${pkgbase}-${pkgver}/"
+}

Copied: bbswitch/repos/community-testing-i686/bbswitch.install (from rev 
242399, bbswitch/trunk/bbswitch.install)
===
--- community-testing-i686/bbswitch.install (rev 0)
+++ community-testing-i686/bbswitch.install 2017-07-05 15:49:02 UTC (rev 
242400)
@@ -0,0 +1,12 @@
+post_install() {
+EXTRAMODULES='extramodules-4.11-ARCH'
+depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+}
+
+post_upgrade() {
+post_install
+}
+
+post_remove() {
+post_install
+}

Copied: bbswitch/repos/community-testing-x86_64/PKGBUILD (from rev 242399, 
bbswitch/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2017-07-05 15:49:02 UTC (rev 242400)
@@ -0,0 +1,47 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: M0Rf30
+# Contributor: Samsagax 
+
+pkgbase=bbswitch
+pkgname=(bbswitch bbswitch-dkms)
+pkgver=0.8
+_extramodules=extramodules-4.11-ARCH # Don't forget to update bbswitch.install
+pkgrel=70
+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')
+makedepends=('linux-headers>=4.11' 'linux-headers<4.12' 'linux>=4.11' 
'linux<4.12')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/Bumblebee-Project/bbswitch/archive/v${pkgver}.tar.gz";)
+md5sums=('5b116b31ace3604ddf9d1fc1f4bc5807')
+
+build() {
+  cd ${srcdir}/${pkgbase}-${pkgver}
+
+  _kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
+
+  make KDIR=/lib/modules/${_kernver}/build
+}
+
+package_bbswitch() {
+  depends=('linux>=4.11' 'linux<4.12')
+  install=bbswitch.install
+
+  cd ${srcdir}/${pkgbase}-${pkgver}
+
+  install -Dm644 bbswitch.ko 
"${pkgdir}"/usr/lib/modules/${_extramodules}/bbswitch.ko
+  gzip "${pkgdir}/usr/lib/modules/${_extramodules}/bbswitch.ko"
+}
+
+package_bbswitch-dkms() {
+  depends=('dkms')
+  conflicts=('bbswitch')
+  provides=('bbswitch')
+
+  cd ${srcdir}/${pkgbase}-${pkgver}
+
+  install -dm755 "${pkgdir}/usr/src/${pk

[arch-commits] Commit in bbswitch/repos (6 files)

2017-06-14 Thread Tobias Powalowski
Date: Wednesday, June 14, 2017 @ 18:26:32
  Author: tpowa
Revision: 236792

archrelease: copy trunk to community-testing-i686, community-testing-x86_64

Added:
  bbswitch/repos/community-testing-i686/
  bbswitch/repos/community-testing-i686/PKGBUILD
(from rev 236791, bbswitch/trunk/PKGBUILD)
  bbswitch/repos/community-testing-i686/bbswitch.install
(from rev 236791, bbswitch/trunk/bbswitch.install)
  bbswitch/repos/community-testing-x86_64/
  bbswitch/repos/community-testing-x86_64/PKGBUILD
(from rev 236791, bbswitch/trunk/PKGBUILD)
  bbswitch/repos/community-testing-x86_64/bbswitch.install
(from rev 236791, bbswitch/trunk/bbswitch.install)

---+
 community-testing-i686/PKGBUILD   |   45 
 community-testing-i686/bbswitch.install   |   12 +++
 community-testing-x86_64/PKGBUILD |   45 
 community-testing-x86_64/bbswitch.install |   12 +++
 4 files changed, 114 insertions(+)

Copied: bbswitch/repos/community-testing-i686/PKGBUILD (from rev 236791, 
bbswitch/trunk/PKGBUILD)
===
--- community-testing-i686/PKGBUILD (rev 0)
+++ community-testing-i686/PKGBUILD 2017-06-14 18:26:32 UTC (rev 236792)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: M0Rf30
+# Contributor: Samsagax 
+
+pkgbase=bbswitch
+pkgname=(bbswitch bbswitch-dkms)
+pkgver=0.8
+_extramodules=extramodules-4.11-ARCH # Don't forget to update bbswitch.install
+pkgrel=68
+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')
+makedepends=('linux-headers>=4.11' 'linux-headers<4.12' 'linux>=4.11' 
'linux<4.12')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/Bumblebee-Project/bbswitch/archive/v${pkgver}.tar.gz";)
+md5sums=('5b116b31ace3604ddf9d1fc1f4bc5807')
+
+build() {
+  cd ${srcdir}/${pkgbase}-${pkgver}
+
+  _kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
+
+  make KDIR=/lib/modules/${_kernver}/build
+}
+
+package_bbswitch() {
+  depends=('linux>=4.11' 'linux<4.12')
+  install=bbswitch.install
+
+  cd ${srcdir}/${pkgbase}-${pkgver}
+   
+  install -Dm644 bbswitch.ko 
"${pkgdir}"/usr/lib/modules/${_extramodules}/bbswitch.ko
+  gzip "${pkgdir}/usr/lib/modules/${_extramodules}/bbswitch.ko"
  
+}
+
+package_bbswitch-dkms() {
+  depends=('dkms')
+
+  cd ${srcdir}/${pkgbase}-${pkgver}
+
+  install -dm755 "${pkgdir}/usr/src/${pkgbase}-${pkgver}/"
+
+  install -Dm644 Makefile bbswitch.c dkms/dkms.conf 
"${pkgdir}/usr/src/${pkgbase}-${pkgver}/"
+}

Copied: bbswitch/repos/community-testing-i686/bbswitch.install (from rev 
236791, bbswitch/trunk/bbswitch.install)
===
--- community-testing-i686/bbswitch.install (rev 0)
+++ community-testing-i686/bbswitch.install 2017-06-14 18:26:32 UTC (rev 
236792)
@@ -0,0 +1,12 @@
+post_install() {
+EXTRAMODULES='extramodules-4.11-ARCH'
+depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+}
+
+post_upgrade() {
+post_install
+}
+
+post_remove() {
+post_install
+}

Copied: bbswitch/repos/community-testing-x86_64/PKGBUILD (from rev 236791, 
bbswitch/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2017-06-14 18:26:32 UTC (rev 236792)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: M0Rf30
+# Contributor: Samsagax 
+
+pkgbase=bbswitch
+pkgname=(bbswitch bbswitch-dkms)
+pkgver=0.8
+_extramodules=extramodules-4.11-ARCH # Don't forget to update bbswitch.install
+pkgrel=68
+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')
+makedepends=('linux-headers>=4.11' 'linux-headers<4.12' 'linux>=4.11' 
'linux<4.12')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/Bumblebee-Project/bbswitch/archive/v${pkgver}.tar.gz";)
+md5sums=('5b116b31ace3604ddf9d1fc1f4bc5807')
+
+build() {
+  cd ${srcdir}/${pkgbase}-${pkgver}
+
+  _kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
+
+  make KDIR=/lib/modules/${_kernver}/build
+}
+
+package_bbswitch() {
+  depends=('linux>=4.11' 'linux<4.12')
+  install=bbswitch.install
+
+  cd ${srcdir}/${pkgbase}-${pkgver}
+   
+  install -Dm644 bbswitch.ko 
"${pkgdir}"/usr/lib/modules/${_extramodules}/bbswitch.ko
+  gzip "${pkgdir}/usr/lib/modules/${_extramodules}/bbswitch.ko"
  
+}
+
+package_bbswitch-dkms() {
+  depends=('dkms')
+
+  cd ${srcdir}/${pkgbase}-${pkgver}
+
+  install -dm755 "${pkgdir}/usr/src/${pkgbase}-${pkgver}/"
+
+  install -Dm644 Makefile b

[arch-commits] Commit in bbswitch/repos (6 files)

2017-05-02 Thread Tobias Powalowski
Date: Tuesday, May 2, 2017 @ 14:36:18
  Author: tpowa
Revision: 226571

archrelease: copy trunk to community-testing-i686, community-testing-x86_64

Added:
  bbswitch/repos/community-testing-i686/
  bbswitch/repos/community-testing-i686/PKGBUILD
(from rev 226570, bbswitch/trunk/PKGBUILD)
  bbswitch/repos/community-testing-i686/bbswitch.install
(from rev 226570, bbswitch/trunk/bbswitch.install)
  bbswitch/repos/community-testing-x86_64/
  bbswitch/repos/community-testing-x86_64/PKGBUILD
(from rev 226570, bbswitch/trunk/PKGBUILD)
  bbswitch/repos/community-testing-x86_64/bbswitch.install
(from rev 226570, bbswitch/trunk/bbswitch.install)

---+
 community-testing-i686/PKGBUILD   |   45 
 community-testing-i686/bbswitch.install   |   12 +++
 community-testing-x86_64/PKGBUILD |   45 
 community-testing-x86_64/bbswitch.install |   12 +++
 4 files changed, 114 insertions(+)

Copied: bbswitch/repos/community-testing-i686/PKGBUILD (from rev 226570, 
bbswitch/trunk/PKGBUILD)
===
--- community-testing-i686/PKGBUILD (rev 0)
+++ community-testing-i686/PKGBUILD 2017-05-02 14:36:18 UTC (rev 226571)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: M0Rf30
+# Contributor: Samsagax 
+
+pkgbase=bbswitch
+pkgname=(bbswitch bbswitch-dkms)
+pkgver=0.8
+_extramodules=extramodules-4.11-ARCH # Don't forget to update bbswitch.install
+pkgrel=67
+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')
+makedepends=('linux-headers>=4.11' 'linux-headers<4.12' 'linux>=4.11' 
'linux<4.12')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/Bumblebee-Project/bbswitch/archive/v${pkgver}.tar.gz";)
+md5sums=('5b116b31ace3604ddf9d1fc1f4bc5807')
+
+build() {
+  cd ${srcdir}/${pkgbase}-${pkgver}
+
+  _kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
+
+  make KDIR=/lib/modules/${_kernver}/build
+}
+
+package_bbswitch() {
+  depends=('linux>=4.11' 'linux<4.12')
+  install=bbswitch.install
+
+  cd ${srcdir}/${pkgbase}-${pkgver}
+   
+  install -Dm644 bbswitch.ko 
"${pkgdir}"/usr/lib/modules/${_extramodules}/bbswitch.ko
+  gzip "${pkgdir}/usr/lib/modules/${_extramodules}/bbswitch.ko"
  
+}
+
+package_bbswitch-dkms() {
+  depends=('dkms')
+
+  cd ${srcdir}/${pkgbase}-${pkgver}
+
+  install -dm755 "${pkgdir}/usr/src/${pkgbase}-${pkgver}/"
+
+  install -Dm644 Makefile bbswitch.c dkms/dkms.conf 
"${pkgdir}/usr/src/${pkgbase}-${pkgver}/"
+}

Copied: bbswitch/repos/community-testing-i686/bbswitch.install (from rev 
226570, bbswitch/trunk/bbswitch.install)
===
--- community-testing-i686/bbswitch.install (rev 0)
+++ community-testing-i686/bbswitch.install 2017-05-02 14:36:18 UTC (rev 
226571)
@@ -0,0 +1,12 @@
+post_install() {
+EXTRAMODULES='extramodules-4.11-ARCH'
+depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+}
+
+post_upgrade() {
+post_install
+}
+
+post_remove() {
+post_install
+}

Copied: bbswitch/repos/community-testing-x86_64/PKGBUILD (from rev 226570, 
bbswitch/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2017-05-02 14:36:18 UTC (rev 226571)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: M0Rf30
+# Contributor: Samsagax 
+
+pkgbase=bbswitch
+pkgname=(bbswitch bbswitch-dkms)
+pkgver=0.8
+_extramodules=extramodules-4.11-ARCH # Don't forget to update bbswitch.install
+pkgrel=67
+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')
+makedepends=('linux-headers>=4.11' 'linux-headers<4.12' 'linux>=4.11' 
'linux<4.12')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/Bumblebee-Project/bbswitch/archive/v${pkgver}.tar.gz";)
+md5sums=('5b116b31ace3604ddf9d1fc1f4bc5807')
+
+build() {
+  cd ${srcdir}/${pkgbase}-${pkgver}
+
+  _kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
+
+  make KDIR=/lib/modules/${_kernver}/build
+}
+
+package_bbswitch() {
+  depends=('linux>=4.11' 'linux<4.12')
+  install=bbswitch.install
+
+  cd ${srcdir}/${pkgbase}-${pkgver}
+   
+  install -Dm644 bbswitch.ko 
"${pkgdir}"/usr/lib/modules/${_extramodules}/bbswitch.ko
+  gzip "${pkgdir}/usr/lib/modules/${_extramodules}/bbswitch.ko"
  
+}
+
+package_bbswitch-dkms() {
+  depends=('dkms')
+
+  cd ${srcdir}/${pkgbase}-${pkgver}
+
+  install -dm755 "${pkgdir}/usr/src/${pkgbase}-${pkgver}/"
+
+  install -Dm644 Makefile bbswi

[arch-commits] Commit in bbswitch/repos (6 files)

2017-04-28 Thread Tobias Powalowski
Date: Friday, April 28, 2017 @ 07:23:46
  Author: tpowa
Revision: 226158

archrelease: copy trunk to community-testing-i686, community-testing-x86_64

Added:
  bbswitch/repos/community-testing-i686/
  bbswitch/repos/community-testing-i686/PKGBUILD
(from rev 226157, bbswitch/trunk/PKGBUILD)
  bbswitch/repos/community-testing-i686/bbswitch.install
(from rev 226157, bbswitch/trunk/bbswitch.install)
  bbswitch/repos/community-testing-x86_64/
  bbswitch/repos/community-testing-x86_64/PKGBUILD
(from rev 226157, bbswitch/trunk/PKGBUILD)
  bbswitch/repos/community-testing-x86_64/bbswitch.install
(from rev 226157, bbswitch/trunk/bbswitch.install)

---+
 community-testing-i686/PKGBUILD   |   45 
 community-testing-i686/bbswitch.install   |   12 +++
 community-testing-x86_64/PKGBUILD |   45 
 community-testing-x86_64/bbswitch.install |   12 +++
 4 files changed, 114 insertions(+)

Copied: bbswitch/repos/community-testing-i686/PKGBUILD (from rev 226157, 
bbswitch/trunk/PKGBUILD)
===
--- community-testing-i686/PKGBUILD (rev 0)
+++ community-testing-i686/PKGBUILD 2017-04-28 07:23:46 UTC (rev 226158)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: M0Rf30
+# Contributor: Samsagax 
+
+pkgbase=bbswitch
+pkgname=(bbswitch bbswitch-dkms)
+pkgver=0.8
+_extramodules=extramodules-4.10-ARCH # Don't forget to update bbswitch.install
+pkgrel=66
+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')
+makedepends=('linux-headers>=4.10' 'linux-headers<4.11' 'linux>=4.10' 
'linux<4.11')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/Bumblebee-Project/bbswitch/archive/v${pkgver}.tar.gz";)
+md5sums=('5b116b31ace3604ddf9d1fc1f4bc5807')
+
+build() {
+  cd ${srcdir}/${pkgbase}-${pkgver}
+
+  _kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
+
+  make KDIR=/lib/modules/${_kernver}/build
+}
+
+package_bbswitch() {
+  depends=('linux>=4.10' 'linux<4.11')
+  install=bbswitch.install
+
+  cd ${srcdir}/${pkgbase}-${pkgver}
+   
+  install -Dm644 bbswitch.ko 
"${pkgdir}"/usr/lib/modules/${_extramodules}/bbswitch.ko
+  gzip "${pkgdir}/usr/lib/modules/${_extramodules}/bbswitch.ko"
  
+}
+
+package_bbswitch-dkms() {
+  depends=('dkms')
+
+  cd ${srcdir}/${pkgbase}-${pkgver}
+
+  install -dm755 "${pkgdir}/usr/src/${pkgbase}-${pkgver}/"
+
+  install -Dm644 Makefile bbswitch.c dkms/dkms.conf 
"${pkgdir}/usr/src/${pkgbase}-${pkgver}/"
+}

Copied: bbswitch/repos/community-testing-i686/bbswitch.install (from rev 
226157, bbswitch/trunk/bbswitch.install)
===
--- community-testing-i686/bbswitch.install (rev 0)
+++ community-testing-i686/bbswitch.install 2017-04-28 07:23:46 UTC (rev 
226158)
@@ -0,0 +1,12 @@
+post_install() {
+EXTRAMODULES='extramodules-4.10-ARCH'
+depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+}
+
+post_upgrade() {
+post_install
+}
+
+post_remove() {
+post_install
+}

Copied: bbswitch/repos/community-testing-x86_64/PKGBUILD (from rev 226157, 
bbswitch/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2017-04-28 07:23:46 UTC (rev 226158)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: M0Rf30
+# Contributor: Samsagax 
+
+pkgbase=bbswitch
+pkgname=(bbswitch bbswitch-dkms)
+pkgver=0.8
+_extramodules=extramodules-4.10-ARCH # Don't forget to update bbswitch.install
+pkgrel=66
+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')
+makedepends=('linux-headers>=4.10' 'linux-headers<4.11' 'linux>=4.10' 
'linux<4.11')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/Bumblebee-Project/bbswitch/archive/v${pkgver}.tar.gz";)
+md5sums=('5b116b31ace3604ddf9d1fc1f4bc5807')
+
+build() {
+  cd ${srcdir}/${pkgbase}-${pkgver}
+
+  _kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
+
+  make KDIR=/lib/modules/${_kernver}/build
+}
+
+package_bbswitch() {
+  depends=('linux>=4.10' 'linux<4.11')
+  install=bbswitch.install
+
+  cd ${srcdir}/${pkgbase}-${pkgver}
+   
+  install -Dm644 bbswitch.ko 
"${pkgdir}"/usr/lib/modules/${_extramodules}/bbswitch.ko
+  gzip "${pkgdir}/usr/lib/modules/${_extramodules}/bbswitch.ko"
  
+}
+
+package_bbswitch-dkms() {
+  depends=('dkms')
+
+  cd ${srcdir}/${pkgbase}-${pkgver}
+
+  install -dm755 "${pkgdir}/usr/src/${pkgbase}-${pkgver}/"
+
+  install -Dm644 Makefile bbs

[arch-commits] Commit in bbswitch/repos (6 files)

2017-03-18 Thread Tobias Powalowski
Date: Saturday, March 18, 2017 @ 22:19:29
  Author: tpowa
Revision: 217186

archrelease: copy trunk to community-testing-i686, community-testing-x86_64

Added:
  bbswitch/repos/community-testing-i686/
  bbswitch/repos/community-testing-i686/PKGBUILD
(from rev 217185, bbswitch/trunk/PKGBUILD)
  bbswitch/repos/community-testing-i686/bbswitch.install
(from rev 217185, bbswitch/trunk/bbswitch.install)
  bbswitch/repos/community-testing-x86_64/
  bbswitch/repos/community-testing-x86_64/PKGBUILD
(from rev 217185, bbswitch/trunk/PKGBUILD)
  bbswitch/repos/community-testing-x86_64/bbswitch.install
(from rev 217185, bbswitch/trunk/bbswitch.install)

---+
 community-testing-i686/PKGBUILD   |   45 
 community-testing-i686/bbswitch.install   |   12 +++
 community-testing-x86_64/PKGBUILD |   45 
 community-testing-x86_64/bbswitch.install |   12 +++
 4 files changed, 114 insertions(+)

Copied: bbswitch/repos/community-testing-i686/PKGBUILD (from rev 217185, 
bbswitch/trunk/PKGBUILD)
===
--- community-testing-i686/PKGBUILD (rev 0)
+++ community-testing-i686/PKGBUILD 2017-03-18 22:19:29 UTC (rev 217186)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: M0Rf30
+# Contributor: Samsagax 
+
+pkgbase=bbswitch
+pkgname=(bbswitch bbswitch-dkms)
+pkgver=0.8
+_extramodules=extramodules-4.10-ARCH # Don't forget to update bbswitch.install
+pkgrel=65
+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')
+makedepends=('linux-headers>=4.10' 'linux-headers<4.11' 'linux>=4.10' 
'linux<4.11')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/Bumblebee-Project/bbswitch/archive/v${pkgver}.tar.gz";)
+md5sums=('5b116b31ace3604ddf9d1fc1f4bc5807')
+
+build() {
+  cd ${srcdir}/${pkgbase}-${pkgver}
+
+  _kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
+
+  make KDIR=/lib/modules/${_kernver}/build
+}
+
+package_bbswitch() {
+  depends=('linux>=4.10' 'linux<4.11')
+  install=bbswitch.install
+
+  cd ${srcdir}/${pkgbase}-${pkgver}
+   
+  install -Dm644 bbswitch.ko 
"${pkgdir}"/usr/lib/modules/${_extramodules}/bbswitch.ko
+  gzip "${pkgdir}/usr/lib/modules/${_extramodules}/bbswitch.ko"
  
+}
+
+package_bbswitch-dkms() {
+  depends=('dkms')
+
+  cd ${srcdir}/${pkgbase}-${pkgver}
+
+  install -dm755 "${pkgdir}/usr/src/${pkgbase}-${pkgver}/"
+
+  install -Dm644 Makefile bbswitch.c dkms/dkms.conf 
"${pkgdir}/usr/src/${pkgbase}-${pkgver}/"
+}

Copied: bbswitch/repos/community-testing-i686/bbswitch.install (from rev 
217185, bbswitch/trunk/bbswitch.install)
===
--- community-testing-i686/bbswitch.install (rev 0)
+++ community-testing-i686/bbswitch.install 2017-03-18 22:19:29 UTC (rev 
217186)
@@ -0,0 +1,12 @@
+post_install() {
+EXTRAMODULES='extramodules-4.10-ARCH'
+depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+}
+
+post_upgrade() {
+post_install
+}
+
+post_remove() {
+post_install
+}

Copied: bbswitch/repos/community-testing-x86_64/PKGBUILD (from rev 217185, 
bbswitch/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2017-03-18 22:19:29 UTC (rev 217186)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: M0Rf30
+# Contributor: Samsagax 
+
+pkgbase=bbswitch
+pkgname=(bbswitch bbswitch-dkms)
+pkgver=0.8
+_extramodules=extramodules-4.10-ARCH # Don't forget to update bbswitch.install
+pkgrel=65
+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')
+makedepends=('linux-headers>=4.10' 'linux-headers<4.11' 'linux>=4.10' 
'linux<4.11')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/Bumblebee-Project/bbswitch/archive/v${pkgver}.tar.gz";)
+md5sums=('5b116b31ace3604ddf9d1fc1f4bc5807')
+
+build() {
+  cd ${srcdir}/${pkgbase}-${pkgver}
+
+  _kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
+
+  make KDIR=/lib/modules/${_kernver}/build
+}
+
+package_bbswitch() {
+  depends=('linux>=4.10' 'linux<4.11')
+  install=bbswitch.install
+
+  cd ${srcdir}/${pkgbase}-${pkgver}
+   
+  install -Dm644 bbswitch.ko 
"${pkgdir}"/usr/lib/modules/${_extramodules}/bbswitch.ko
+  gzip "${pkgdir}/usr/lib/modules/${_extramodules}/bbswitch.ko"
  
+}
+
+package_bbswitch-dkms() {
+  depends=('dkms')
+
+  cd ${srcdir}/${pkgbase}-${pkgver}
+
+  install -dm755 "${pkgdir}/usr/src/${pkgbase}-${pkgver}/"
+
+  install -Dm644 Makefile b

[arch-commits] Commit in bbswitch/repos (6 files)

2017-03-18 Thread Tobias Powalowski
Date: Saturday, March 18, 2017 @ 22:18:56
  Author: tpowa
Revision: 217185

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  bbswitch/repos/testing-i686/
  bbswitch/repos/testing-i686/PKGBUILD
(from rev 217184, bbswitch/trunk/PKGBUILD)
  bbswitch/repos/testing-i686/bbswitch.install
(from rev 217184, bbswitch/trunk/bbswitch.install)
  bbswitch/repos/testing-x86_64/
  bbswitch/repos/testing-x86_64/PKGBUILD
(from rev 217184, bbswitch/trunk/PKGBUILD)
  bbswitch/repos/testing-x86_64/bbswitch.install
(from rev 217184, bbswitch/trunk/bbswitch.install)

-+
 testing-i686/PKGBUILD   |   45 ++
 testing-i686/bbswitch.install   |   12 ++
 testing-x86_64/PKGBUILD |   45 ++
 testing-x86_64/bbswitch.install |   12 ++
 4 files changed, 114 insertions(+)

Copied: bbswitch/repos/testing-i686/PKGBUILD (from rev 217184, 
bbswitch/trunk/PKGBUILD)
===
--- testing-i686/PKGBUILD   (rev 0)
+++ testing-i686/PKGBUILD   2017-03-18 22:18:56 UTC (rev 217185)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: M0Rf30
+# Contributor: Samsagax 
+
+pkgbase=bbswitch
+pkgname=(bbswitch bbswitch-dkms)
+pkgver=0.8
+_extramodules=extramodules-4.10-ARCH # Don't forget to update bbswitch.install
+pkgrel=65
+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')
+makedepends=('linux-headers>=4.10' 'linux-headers<4.11' 'linux>=4.10' 
'linux<4.11')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/Bumblebee-Project/bbswitch/archive/v${pkgver}.tar.gz";)
+md5sums=('5b116b31ace3604ddf9d1fc1f4bc5807')
+
+build() {
+  cd ${srcdir}/${pkgbase}-${pkgver}
+
+  _kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
+
+  make KDIR=/lib/modules/${_kernver}/build
+}
+
+package_bbswitch() {
+  depends=('linux>=4.10' 'linux<4.11')
+  install=bbswitch.install
+
+  cd ${srcdir}/${pkgbase}-${pkgver}
+   
+  install -Dm644 bbswitch.ko 
"${pkgdir}"/usr/lib/modules/${_extramodules}/bbswitch.ko
+  gzip "${pkgdir}/usr/lib/modules/${_extramodules}/bbswitch.ko"
  
+}
+
+package_bbswitch-dkms() {
+  depends=('dkms')
+
+  cd ${srcdir}/${pkgbase}-${pkgver}
+
+  install -dm755 "${pkgdir}/usr/src/${pkgbase}-${pkgver}/"
+
+  install -Dm644 Makefile bbswitch.c dkms/dkms.conf 
"${pkgdir}/usr/src/${pkgbase}-${pkgver}/"
+}

Copied: bbswitch/repos/testing-i686/bbswitch.install (from rev 217184, 
bbswitch/trunk/bbswitch.install)
===
--- testing-i686/bbswitch.install   (rev 0)
+++ testing-i686/bbswitch.install   2017-03-18 22:18:56 UTC (rev 217185)
@@ -0,0 +1,12 @@
+post_install() {
+EXTRAMODULES='extramodules-4.10-ARCH'
+depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+}
+
+post_upgrade() {
+post_install
+}
+
+post_remove() {
+post_install
+}

Copied: bbswitch/repos/testing-x86_64/PKGBUILD (from rev 217184, 
bbswitch/trunk/PKGBUILD)
===
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2017-03-18 22:18:56 UTC (rev 217185)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: M0Rf30
+# Contributor: Samsagax 
+
+pkgbase=bbswitch
+pkgname=(bbswitch bbswitch-dkms)
+pkgver=0.8
+_extramodules=extramodules-4.10-ARCH # Don't forget to update bbswitch.install
+pkgrel=65
+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')
+makedepends=('linux-headers>=4.10' 'linux-headers<4.11' 'linux>=4.10' 
'linux<4.11')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/Bumblebee-Project/bbswitch/archive/v${pkgver}.tar.gz";)
+md5sums=('5b116b31ace3604ddf9d1fc1f4bc5807')
+
+build() {
+  cd ${srcdir}/${pkgbase}-${pkgver}
+
+  _kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
+
+  make KDIR=/lib/modules/${_kernver}/build
+}
+
+package_bbswitch() {
+  depends=('linux>=4.10' 'linux<4.11')
+  install=bbswitch.install
+
+  cd ${srcdir}/${pkgbase}-${pkgver}
+   
+  install -Dm644 bbswitch.ko 
"${pkgdir}"/usr/lib/modules/${_extramodules}/bbswitch.ko
+  gzip "${pkgdir}/usr/lib/modules/${_extramodules}/bbswitch.ko"
  
+}
+
+package_bbswitch-dkms() {
+  depends=('dkms')
+
+  cd ${srcdir}/${pkgbase}-${pkgver}
+
+  install -dm755 "${pkgdir}/usr/src/${pkgbase}-${pkgver}/"
+
+  install -Dm644 Makefile bbswitch.c dkms/dkms.conf 
"${pkgdir}/usr/src/${pkgbase}-${pkgver}/"
+}

Copied: bbswitch/repos/testing-x86_64/bbswitch.install (from rev 217184, 
bbswitch/trunk/bbswitch.install)

[arch-commits] Commit in bbswitch/repos (6 files)

2017-02-26 Thread Jan Steffens
Date: Sunday, February 26, 2017 @ 22:39:41
  Author: heftig
Revision: 213895

archrelease: copy trunk to community-testing-i686, community-testing-x86_64

Added:
  bbswitch/repos/community-testing-i686/
  bbswitch/repos/community-testing-i686/PKGBUILD
(from rev 213894, bbswitch/trunk/PKGBUILD)
  bbswitch/repos/community-testing-i686/bbswitch.install
(from rev 213894, bbswitch/trunk/bbswitch.install)
  bbswitch/repos/community-testing-x86_64/
  bbswitch/repos/community-testing-x86_64/PKGBUILD
(from rev 213894, bbswitch/trunk/PKGBUILD)
  bbswitch/repos/community-testing-x86_64/bbswitch.install
(from rev 213894, bbswitch/trunk/bbswitch.install)

---+
 community-testing-i686/PKGBUILD   |   45 
 community-testing-i686/bbswitch.install   |   12 +++
 community-testing-x86_64/PKGBUILD |   45 
 community-testing-x86_64/bbswitch.install |   12 +++
 4 files changed, 114 insertions(+)

Copied: bbswitch/repos/community-testing-i686/PKGBUILD (from rev 213894, 
bbswitch/trunk/PKGBUILD)
===
--- community-testing-i686/PKGBUILD (rev 0)
+++ community-testing-i686/PKGBUILD 2017-02-26 22:39:41 UTC (rev 213895)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: M0Rf30
+# Contributor: Samsagax 
+
+pkgbase=bbswitch
+pkgname=(bbswitch bbswitch-dkms)
+pkgver=0.8
+_extramodules=extramodules-4.10-ARCH # Don't forget to update bbswitch.install
+pkgrel=64
+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')
+makedepends=('linux-headers>=4.10' 'linux-headers<4.11' 'linux>=4.10' 
'linux<4.11')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/Bumblebee-Project/bbswitch/archive/v${pkgver}.tar.gz";)
+md5sums=('5b116b31ace3604ddf9d1fc1f4bc5807')
+
+build() {
+  cd ${srcdir}/${pkgbase}-${pkgver}
+
+  _kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
+
+  make KDIR=/lib/modules/${_kernver}/build
+}
+
+package_bbswitch() {
+  depends=('linux>=4.10' 'linux<4.11')
+  install=bbswitch.install
+
+  cd ${srcdir}/${pkgbase}-${pkgver}
+   
+  install -Dm644 bbswitch.ko 
"${pkgdir}"/usr/lib/modules/${_extramodules}/bbswitch.ko
+  gzip "${pkgdir}/usr/lib/modules/${_extramodules}/bbswitch.ko"
  
+}
+
+package_bbswitch-dkms() {
+  depends=('dkms')
+
+  cd ${srcdir}/${pkgbase}-${pkgver}
+
+  install -dm755 "${pkgdir}/usr/src/${pkgbase}-${pkgver}/"
+
+  install -Dm644 Makefile bbswitch.c dkms/dkms.conf 
"${pkgdir}/usr/src/${pkgbase}-${pkgver}/"
+}

Copied: bbswitch/repos/community-testing-i686/bbswitch.install (from rev 
213894, bbswitch/trunk/bbswitch.install)
===
--- community-testing-i686/bbswitch.install (rev 0)
+++ community-testing-i686/bbswitch.install 2017-02-26 22:39:41 UTC (rev 
213895)
@@ -0,0 +1,12 @@
+post_install() {
+EXTRAMODULES='extramodules-4.10-ARCH'
+depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+}
+
+post_upgrade() {
+post_install
+}
+
+post_remove() {
+post_install
+}

Copied: bbswitch/repos/community-testing-x86_64/PKGBUILD (from rev 213894, 
bbswitch/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2017-02-26 22:39:41 UTC (rev 213895)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: M0Rf30
+# Contributor: Samsagax 
+
+pkgbase=bbswitch
+pkgname=(bbswitch bbswitch-dkms)
+pkgver=0.8
+_extramodules=extramodules-4.10-ARCH # Don't forget to update bbswitch.install
+pkgrel=64
+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')
+makedepends=('linux-headers>=4.10' 'linux-headers<4.11' 'linux>=4.10' 
'linux<4.11')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/Bumblebee-Project/bbswitch/archive/v${pkgver}.tar.gz";)
+md5sums=('5b116b31ace3604ddf9d1fc1f4bc5807')
+
+build() {
+  cd ${srcdir}/${pkgbase}-${pkgver}
+
+  _kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
+
+  make KDIR=/lib/modules/${_kernver}/build
+}
+
+package_bbswitch() {
+  depends=('linux>=4.10' 'linux<4.11')
+  install=bbswitch.install
+
+  cd ${srcdir}/${pkgbase}-${pkgver}
+   
+  install -Dm644 bbswitch.ko 
"${pkgdir}"/usr/lib/modules/${_extramodules}/bbswitch.ko
+  gzip "${pkgdir}/usr/lib/modules/${_extramodules}/bbswitch.ko"
  
+}
+
+package_bbswitch-dkms() {
+  depends=('dkms')
+
+  cd ${srcdir}/${pkgbase}-${pkgver}
+
+  install -dm755 "${pkgdir}/usr/src/${pkgbase}-${pkgver}/"
+
+  install -Dm644 Makefile

[arch-commits] Commit in bbswitch/repos (6 files)

2017-02-19 Thread Jan Steffens
Date: Sunday, February 19, 2017 @ 15:26:57
  Author: heftig
Revision: 213125

archrelease: copy trunk to community-testing-i686, community-testing-x86_64

Added:
  bbswitch/repos/community-testing-i686/
  bbswitch/repos/community-testing-i686/PKGBUILD
(from rev 213124, bbswitch/trunk/PKGBUILD)
  bbswitch/repos/community-testing-i686/bbswitch.install
(from rev 213124, bbswitch/trunk/bbswitch.install)
  bbswitch/repos/community-testing-x86_64/
  bbswitch/repos/community-testing-x86_64/PKGBUILD
(from rev 213124, bbswitch/trunk/PKGBUILD)
  bbswitch/repos/community-testing-x86_64/bbswitch.install
(from rev 213124, bbswitch/trunk/bbswitch.install)

---+
 community-testing-i686/PKGBUILD   |   45 
 community-testing-i686/bbswitch.install   |   12 +++
 community-testing-x86_64/PKGBUILD |   45 
 community-testing-x86_64/bbswitch.install |   12 +++
 4 files changed, 114 insertions(+)

Copied: bbswitch/repos/community-testing-i686/PKGBUILD (from rev 213124, 
bbswitch/trunk/PKGBUILD)
===
--- community-testing-i686/PKGBUILD (rev 0)
+++ community-testing-i686/PKGBUILD 2017-02-19 15:26:57 UTC (rev 213125)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: M0Rf30
+# Contributor: Samsagax 
+
+pkgbase=bbswitch
+pkgname=(bbswitch bbswitch-dkms)
+pkgver=0.8
+_extramodules=extramodules-4.9-ARCH # Don't forget to update bbswitch.install
+pkgrel=63
+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')
+makedepends=('linux-headers>=4.9' 'linux-headers<4.10' 'linux>=4.9' 
'linux<4.10')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/Bumblebee-Project/bbswitch/archive/v${pkgver}.tar.gz";)
+md5sums=('5b116b31ace3604ddf9d1fc1f4bc5807')
+
+build() {
+  cd ${srcdir}/${pkgbase}-${pkgver}
+
+  _kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
+
+  make KDIR=/lib/modules/${_kernver}/build
+}
+
+package_bbswitch() {
+  depends=('linux>=4.9' 'linux<4.10')
+  install=bbswitch.install
+
+  cd ${srcdir}/${pkgbase}-${pkgver}
+   
+  install -Dm644 bbswitch.ko 
"${pkgdir}"/usr/lib/modules/${_extramodules}/bbswitch.ko
+  gzip "${pkgdir}/usr/lib/modules/${_extramodules}/bbswitch.ko"
  
+}
+
+package_bbswitch-dkms() {
+  depends=('dkms')
+
+  cd ${srcdir}/${pkgbase}-${pkgver}
+
+  install -dm755 "${pkgdir}/usr/src/${pkgbase}-${pkgver}/"
+
+  install -Dm644 Makefile bbswitch.c dkms/dkms.conf 
"${pkgdir}/usr/src/${pkgbase}-${pkgver}/"
+}

Copied: bbswitch/repos/community-testing-i686/bbswitch.install (from rev 
213124, bbswitch/trunk/bbswitch.install)
===
--- community-testing-i686/bbswitch.install (rev 0)
+++ community-testing-i686/bbswitch.install 2017-02-19 15:26:57 UTC (rev 
213125)
@@ -0,0 +1,12 @@
+post_install() {
+EXTRAMODULES='extramodules-4.9-ARCH'
+depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+}
+
+post_upgrade() {
+post_install
+}
+
+post_remove() {
+post_install
+}

Copied: bbswitch/repos/community-testing-x86_64/PKGBUILD (from rev 213124, 
bbswitch/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2017-02-19 15:26:57 UTC (rev 213125)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: M0Rf30
+# Contributor: Samsagax 
+
+pkgbase=bbswitch
+pkgname=(bbswitch bbswitch-dkms)
+pkgver=0.8
+_extramodules=extramodules-4.9-ARCH # Don't forget to update bbswitch.install
+pkgrel=63
+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')
+makedepends=('linux-headers>=4.9' 'linux-headers<4.10' 'linux>=4.9' 
'linux<4.10')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/Bumblebee-Project/bbswitch/archive/v${pkgver}.tar.gz";)
+md5sums=('5b116b31ace3604ddf9d1fc1f4bc5807')
+
+build() {
+  cd ${srcdir}/${pkgbase}-${pkgver}
+
+  _kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
+
+  make KDIR=/lib/modules/${_kernver}/build
+}
+
+package_bbswitch() {
+  depends=('linux>=4.9' 'linux<4.10')
+  install=bbswitch.install
+
+  cd ${srcdir}/${pkgbase}-${pkgver}
+   
+  install -Dm644 bbswitch.ko 
"${pkgdir}"/usr/lib/modules/${_extramodules}/bbswitch.ko
+  gzip "${pkgdir}/usr/lib/modules/${_extramodules}/bbswitch.ko"
  
+}
+
+package_bbswitch-dkms() {
+  depends=('dkms')
+
+  cd ${srcdir}/${pkgbase}-${pkgver}
+
+  install -dm755 "${pkgdir}/usr/src/${pkgbase}-${pkgver}/"
+
+  install -Dm644 Makefile bbswitch

[arch-commits] Commit in bbswitch/repos (6 files)

2016-12-22 Thread Tobias Powalowski
Date: Thursday, December 22, 2016 @ 18:45:48
  Author: tpowa
Revision: 201128

archrelease: copy trunk to community-testing-i686, community-testing-x86_64

Added:
  bbswitch/repos/community-testing-i686/
  bbswitch/repos/community-testing-i686/PKGBUILD
(from rev 201127, bbswitch/trunk/PKGBUILD)
  bbswitch/repos/community-testing-i686/bbswitch.install
(from rev 201127, bbswitch/trunk/bbswitch.install)
  bbswitch/repos/community-testing-x86_64/
  bbswitch/repos/community-testing-x86_64/PKGBUILD
(from rev 201127, bbswitch/trunk/PKGBUILD)
  bbswitch/repos/community-testing-x86_64/bbswitch.install
(from rev 201127, bbswitch/trunk/bbswitch.install)

---+
 community-testing-i686/PKGBUILD   |   45 
 community-testing-i686/bbswitch.install   |   12 +++
 community-testing-x86_64/PKGBUILD |   45 
 community-testing-x86_64/bbswitch.install |   12 +++
 4 files changed, 114 insertions(+)

Copied: bbswitch/repos/community-testing-i686/PKGBUILD (from rev 201127, 
bbswitch/trunk/PKGBUILD)
===
--- community-testing-i686/PKGBUILD (rev 0)
+++ community-testing-i686/PKGBUILD 2016-12-22 18:45:48 UTC (rev 201128)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: M0Rf30
+# Contributor: Samsagax 
+
+pkgbase=bbswitch
+pkgname=(bbswitch bbswitch-dkms)
+pkgver=0.8
+_extramodules=extramodules-4.9-ARCH # Don't forget to update bbswitch.install
+pkgrel=56
+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')
+makedepends=('linux-headers>=4.9' 'linux-headers<4.10' 'linux>=4.9' 
'linux<4.10')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/Bumblebee-Project/bbswitch/archive/v${pkgver}.tar.gz";)
+md5sums=('5b116b31ace3604ddf9d1fc1f4bc5807')
+
+build() {
+  cd ${srcdir}/${pkgbase}-${pkgver}
+
+  _kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
+
+  make KDIR=/lib/modules/${_kernver}/build
+}
+
+package_bbswitch() {
+  depends=('linux>=4.9' 'linux<4.10')
+  install=bbswitch.install
+
+  cd ${srcdir}/${pkgbase}-${pkgver}
+   
+  install -Dm644 bbswitch.ko 
"${pkgdir}"/usr/lib/modules/${_extramodules}/bbswitch.ko
+  gzip "${pkgdir}/usr/lib/modules/${_extramodules}/bbswitch.ko"
  
+}
+
+package_bbswitch-dkms() {
+  depends=('dkms')
+
+  cd ${srcdir}/${pkgbase}-${pkgver}
+
+  install -dm755 "${pkgdir}/usr/src/${pkgbase}-${pkgver}/"
+
+  install -Dm644 Makefile bbswitch.c dkms/dkms.conf 
"${pkgdir}/usr/src/${pkgbase}-${pkgver}/"
+}

Copied: bbswitch/repos/community-testing-i686/bbswitch.install (from rev 
201127, bbswitch/trunk/bbswitch.install)
===
--- community-testing-i686/bbswitch.install (rev 0)
+++ community-testing-i686/bbswitch.install 2016-12-22 18:45:48 UTC (rev 
201128)
@@ -0,0 +1,12 @@
+post_install() {
+EXTRAMODULES='extramodules-4.9-ARCH'
+depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+}
+
+post_upgrade() {
+post_install
+}
+
+post_remove() {
+post_install
+}

Copied: bbswitch/repos/community-testing-x86_64/PKGBUILD (from rev 201127, 
bbswitch/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2016-12-22 18:45:48 UTC (rev 201128)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: M0Rf30
+# Contributor: Samsagax 
+
+pkgbase=bbswitch
+pkgname=(bbswitch bbswitch-dkms)
+pkgver=0.8
+_extramodules=extramodules-4.9-ARCH # Don't forget to update bbswitch.install
+pkgrel=56
+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')
+makedepends=('linux-headers>=4.9' 'linux-headers<4.10' 'linux>=4.9' 
'linux<4.10')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/Bumblebee-Project/bbswitch/archive/v${pkgver}.tar.gz";)
+md5sums=('5b116b31ace3604ddf9d1fc1f4bc5807')
+
+build() {
+  cd ${srcdir}/${pkgbase}-${pkgver}
+
+  _kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
+
+  make KDIR=/lib/modules/${_kernver}/build
+}
+
+package_bbswitch() {
+  depends=('linux>=4.9' 'linux<4.10')
+  install=bbswitch.install
+
+  cd ${srcdir}/${pkgbase}-${pkgver}
+   
+  install -Dm644 bbswitch.ko 
"${pkgdir}"/usr/lib/modules/${_extramodules}/bbswitch.ko
+  gzip "${pkgdir}/usr/lib/modules/${_extramodules}/bbswitch.ko"
  
+}
+
+package_bbswitch-dkms() {
+  depends=('dkms')
+
+  cd ${srcdir}/${pkgbase}-${pkgver}
+
+  install -dm755 "${pkgdir}/usr/src/${pkgbase}-${pkgver}/"
+
+  install -Dm644 Makefile bbswitc

[arch-commits] Commit in bbswitch/repos (6 files)

2016-11-21 Thread Tobias Powalowski
Date: Tuesday, November 22, 2016 @ 07:21:24
  Author: tpowa
Revision: 196490

archrelease: copy trunk to community-testing-i686, community-testing-x86_64

Added:
  bbswitch/repos/community-testing-i686/
  bbswitch/repos/community-testing-i686/PKGBUILD
(from rev 196489, bbswitch/trunk/PKGBUILD)
  bbswitch/repos/community-testing-i686/bbswitch.install
(from rev 196489, bbswitch/trunk/bbswitch.install)
  bbswitch/repos/community-testing-x86_64/
  bbswitch/repos/community-testing-x86_64/PKGBUILD
(from rev 196489, bbswitch/trunk/PKGBUILD)
  bbswitch/repos/community-testing-x86_64/bbswitch.install
(from rev 196489, bbswitch/trunk/bbswitch.install)

---+
 community-testing-i686/PKGBUILD   |   45 
 community-testing-i686/bbswitch.install   |   12 +++
 community-testing-x86_64/PKGBUILD |   45 
 community-testing-x86_64/bbswitch.install |   12 +++
 4 files changed, 114 insertions(+)

Copied: bbswitch/repos/community-testing-i686/PKGBUILD (from rev 196489, 
bbswitch/trunk/PKGBUILD)
===
--- community-testing-i686/PKGBUILD (rev 0)
+++ community-testing-i686/PKGBUILD 2016-11-22 07:21:24 UTC (rev 196490)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: M0Rf30
+# Contributor: Samsagax 
+
+pkgbase=bbswitch
+pkgname=(bbswitch bbswitch-dkms)
+pkgver=0.8
+_extramodules=extramodules-4.8-ARCH # Don't forget to update bbswitch.install
+pkgrel=55
+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')
+makedepends=('linux-headers>=4.8' 'linux-headers<4.9' 'linux>=4.8' 'linux<4.9')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/Bumblebee-Project/bbswitch/archive/v${pkgver}.tar.gz";)
+md5sums=('5b116b31ace3604ddf9d1fc1f4bc5807')
+
+build() {
+  cd ${srcdir}/${pkgbase}-${pkgver}
+
+  _kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
+
+  make KDIR=/lib/modules/${_kernver}/build
+}
+
+package_bbswitch() {
+  depends=('linux>=4.8' 'linux<4.9')
+  install=bbswitch.install
+
+  cd ${srcdir}/${pkgbase}-${pkgver}
+   
+  install -Dm644 bbswitch.ko 
"${pkgdir}"/usr/lib/modules/${_extramodules}/bbswitch.ko
+  gzip "${pkgdir}/usr/lib/modules/${_extramodules}/bbswitch.ko"
  
+}
+
+package_bbswitch-dkms() {
+  depends=('dkms')
+
+  cd ${srcdir}/${pkgbase}-${pkgver}
+
+  install -dm755 "${pkgdir}/usr/src/${pkgbase}-${pkgver}/"
+
+  install -Dm644 Makefile bbswitch.c dkms/dkms.conf 
"${pkgdir}/usr/src/${pkgbase}-${pkgver}/"
+}

Copied: bbswitch/repos/community-testing-i686/bbswitch.install (from rev 
196489, bbswitch/trunk/bbswitch.install)
===
--- community-testing-i686/bbswitch.install (rev 0)
+++ community-testing-i686/bbswitch.install 2016-11-22 07:21:24 UTC (rev 
196490)
@@ -0,0 +1,12 @@
+post_install() {
+EXTRAMODULES='extramodules-4.8-ARCH'
+depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+}
+
+post_upgrade() {
+post_install
+}
+
+post_remove() {
+post_install
+}

Copied: bbswitch/repos/community-testing-x86_64/PKGBUILD (from rev 196489, 
bbswitch/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2016-11-22 07:21:24 UTC (rev 196490)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: M0Rf30
+# Contributor: Samsagax 
+
+pkgbase=bbswitch
+pkgname=(bbswitch bbswitch-dkms)
+pkgver=0.8
+_extramodules=extramodules-4.8-ARCH # Don't forget to update bbswitch.install
+pkgrel=55
+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')
+makedepends=('linux-headers>=4.8' 'linux-headers<4.9' 'linux>=4.8' 'linux<4.9')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/Bumblebee-Project/bbswitch/archive/v${pkgver}.tar.gz";)
+md5sums=('5b116b31ace3604ddf9d1fc1f4bc5807')
+
+build() {
+  cd ${srcdir}/${pkgbase}-${pkgver}
+
+  _kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
+
+  make KDIR=/lib/modules/${_kernver}/build
+}
+
+package_bbswitch() {
+  depends=('linux>=4.8' 'linux<4.9')
+  install=bbswitch.install
+
+  cd ${srcdir}/${pkgbase}-${pkgver}
+   
+  install -Dm644 bbswitch.ko 
"${pkgdir}"/usr/lib/modules/${_extramodules}/bbswitch.ko
+  gzip "${pkgdir}/usr/lib/modules/${_extramodules}/bbswitch.ko"
  
+}
+
+package_bbswitch-dkms() {
+  depends=('dkms')
+
+  cd ${srcdir}/${pkgbase}-${pkgver}
+
+  install -dm755 "${pkgdir}/usr/src/${pkgbase}-${pkgver}/"
+
+  install -Dm644 Makefile bbswitch.c dkms/

[arch-commits] Commit in bbswitch/repos (6 files)

2016-10-05 Thread Tobias Powalowski
Date: Wednesday, October 5, 2016 @ 10:41:14
  Author: tpowa
Revision: 191361

archrelease: copy trunk to community-testing-i686, community-testing-x86_64

Added:
  bbswitch/repos/community-testing-i686/
  bbswitch/repos/community-testing-i686/PKGBUILD
(from rev 191360, bbswitch/trunk/PKGBUILD)
  bbswitch/repos/community-testing-i686/bbswitch.install
(from rev 191360, bbswitch/trunk/bbswitch.install)
  bbswitch/repos/community-testing-x86_64/
  bbswitch/repos/community-testing-x86_64/PKGBUILD
(from rev 191360, bbswitch/trunk/PKGBUILD)
  bbswitch/repos/community-testing-x86_64/bbswitch.install
(from rev 191360, bbswitch/trunk/bbswitch.install)

---+
 community-testing-i686/PKGBUILD   |   45 
 community-testing-i686/bbswitch.install   |   12 +++
 community-testing-x86_64/PKGBUILD |   45 
 community-testing-x86_64/bbswitch.install |   12 +++
 4 files changed, 114 insertions(+)

Copied: bbswitch/repos/community-testing-i686/PKGBUILD (from rev 191360, 
bbswitch/trunk/PKGBUILD)
===
--- community-testing-i686/PKGBUILD (rev 0)
+++ community-testing-i686/PKGBUILD 2016-10-05 10:41:14 UTC (rev 191361)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: M0Rf30
+# Contributor: Samsagax 
+
+pkgbase=bbswitch
+pkgname=(bbswitch bbswitch-dkms)
+pkgver=0.8
+_extramodules=extramodules-4.8-ARCH # Don't forget to update bbswitch.install
+pkgrel=54
+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')
+makedepends=('linux-headers>=4.8' 'linux-headers<4.9' 'linux>=4.8' 'linux<4.9')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/Bumblebee-Project/bbswitch/archive/v${pkgver}.tar.gz";)
+md5sums=('5b116b31ace3604ddf9d1fc1f4bc5807')
+
+build() {
+  cd ${srcdir}/${pkgbase}-${pkgver}
+
+  _kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
+
+  make KDIR=/lib/modules/${_kernver}/build
+}
+
+package_bbswitch() {
+  depends=('linux>=4.8' 'linux<4.9')
+  install=bbswitch.install
+
+  cd ${srcdir}/${pkgbase}-${pkgver}
+   
+  install -Dm644 bbswitch.ko 
"${pkgdir}"/usr/lib/modules/${_extramodules}/bbswitch.ko
+  gzip "${pkgdir}/usr/lib/modules/${_extramodules}/bbswitch.ko"
  
+}
+
+package_bbswitch-dkms() {
+  depends=('dkms')
+
+  cd ${srcdir}/${pkgbase}-${pkgver}
+
+  install -dm755 "${pkgdir}/usr/src/${pkgbase}-${pkgver}/"
+
+  install -Dm644 Makefile bbswitch.c dkms/dkms.conf 
"${pkgdir}/usr/src/${pkgbase}-${pkgver}/"
+}

Copied: bbswitch/repos/community-testing-i686/bbswitch.install (from rev 
191360, bbswitch/trunk/bbswitch.install)
===
--- community-testing-i686/bbswitch.install (rev 0)
+++ community-testing-i686/bbswitch.install 2016-10-05 10:41:14 UTC (rev 
191361)
@@ -0,0 +1,12 @@
+post_install() {
+EXTRAMODULES='extramodules-4.8-ARCH'
+depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+}
+
+post_upgrade() {
+post_install
+}
+
+post_remove() {
+post_install
+}

Copied: bbswitch/repos/community-testing-x86_64/PKGBUILD (from rev 191360, 
bbswitch/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2016-10-05 10:41:14 UTC (rev 191361)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: M0Rf30
+# Contributor: Samsagax 
+
+pkgbase=bbswitch
+pkgname=(bbswitch bbswitch-dkms)
+pkgver=0.8
+_extramodules=extramodules-4.8-ARCH # Don't forget to update bbswitch.install
+pkgrel=54
+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')
+makedepends=('linux-headers>=4.8' 'linux-headers<4.9' 'linux>=4.8' 'linux<4.9')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/Bumblebee-Project/bbswitch/archive/v${pkgver}.tar.gz";)
+md5sums=('5b116b31ace3604ddf9d1fc1f4bc5807')
+
+build() {
+  cd ${srcdir}/${pkgbase}-${pkgver}
+
+  _kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
+
+  make KDIR=/lib/modules/${_kernver}/build
+}
+
+package_bbswitch() {
+  depends=('linux>=4.8' 'linux<4.9')
+  install=bbswitch.install
+
+  cd ${srcdir}/${pkgbase}-${pkgver}
+   
+  install -Dm644 bbswitch.ko 
"${pkgdir}"/usr/lib/modules/${_extramodules}/bbswitch.ko
+  gzip "${pkgdir}/usr/lib/modules/${_extramodules}/bbswitch.ko"
  
+}
+
+package_bbswitch-dkms() {
+  depends=('dkms')
+
+  cd ${srcdir}/${pkgbase}-${pkgver}
+
+  install -dm755 "${pkgdir}/usr/src/${pkgbase}-${pkgver}/"
+
+  install -Dm644 Makefile bbswitch.c dkms/

[arch-commits] Commit in bbswitch/repos (6 files)

2016-08-21 Thread Tobias Powalowski
Date: Sunday, August 21, 2016 @ 09:41:44
  Author: tpowa
Revision: 187235

archrelease: copy trunk to community-testing-i686, community-testing-x86_64

Added:
  bbswitch/repos/community-testing-i686/
  bbswitch/repos/community-testing-i686/PKGBUILD
(from rev 187234, bbswitch/trunk/PKGBUILD)
  bbswitch/repos/community-testing-i686/bbswitch.install
(from rev 187234, bbswitch/trunk/bbswitch.install)
  bbswitch/repos/community-testing-x86_64/
  bbswitch/repos/community-testing-x86_64/PKGBUILD
(from rev 187234, bbswitch/trunk/PKGBUILD)
  bbswitch/repos/community-testing-x86_64/bbswitch.install
(from rev 187234, bbswitch/trunk/bbswitch.install)

---+
 community-testing-i686/PKGBUILD   |   45 
 community-testing-i686/bbswitch.install   |   12 +++
 community-testing-x86_64/PKGBUILD |   45 
 community-testing-x86_64/bbswitch.install |   12 +++
 4 files changed, 114 insertions(+)

Copied: bbswitch/repos/community-testing-i686/PKGBUILD (from rev 187234, 
bbswitch/trunk/PKGBUILD)
===
--- community-testing-i686/PKGBUILD (rev 0)
+++ community-testing-i686/PKGBUILD 2016-08-21 09:41:44 UTC (rev 187235)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: M0Rf30
+# Contributor: Samsagax 
+
+pkgbase=bbswitch
+pkgname=(bbswitch bbswitch-dkms)
+pkgver=0.8
+_extramodules=extramodules-4.7-ARCH # Don't forget to update bbswitch.install
+pkgrel=53
+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')
+makedepends=('linux-headers>=4.7' 'linux-headers<4.8' 'linux>=4.7' 'linux<4.8')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/Bumblebee-Project/bbswitch/archive/v${pkgver}.tar.gz";)
+md5sums=('5b116b31ace3604ddf9d1fc1f4bc5807')
+
+build() {
+  cd ${srcdir}/${pkgbase}-${pkgver}
+
+  _kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
+
+  make KDIR=/lib/modules/${_kernver}/build
+}
+
+package_bbswitch() {
+  depends=('linux>=4.7' 'linux<4.8')
+  install=bbswitch.install
+
+  cd ${srcdir}/${pkgbase}-${pkgver}
+   
+  install -Dm644 bbswitch.ko 
"${pkgdir}"/usr/lib/modules/${_extramodules}/bbswitch.ko
+  gzip "${pkgdir}/usr/lib/modules/${_extramodules}/bbswitch.ko"
  
+}
+
+package_bbswitch-dkms() {
+  depends=('dkms')
+
+  cd ${srcdir}/${pkgbase}-${pkgver}
+
+  install -dm755 "${pkgdir}/usr/src/${pkgbase}-${pkgver}/"
+
+  install -Dm644 Makefile bbswitch.c dkms/dkms.conf 
"${pkgdir}/usr/src/${pkgbase}-${pkgver}/"
+}

Copied: bbswitch/repos/community-testing-i686/bbswitch.install (from rev 
187234, bbswitch/trunk/bbswitch.install)
===
--- community-testing-i686/bbswitch.install (rev 0)
+++ community-testing-i686/bbswitch.install 2016-08-21 09:41:44 UTC (rev 
187235)
@@ -0,0 +1,12 @@
+post_install() {
+EXTRAMODULES='extramodules-4.7-ARCH'
+depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+}
+
+post_upgrade() {
+post_install
+}
+
+post_remove() {
+post_install
+}

Copied: bbswitch/repos/community-testing-x86_64/PKGBUILD (from rev 187234, 
bbswitch/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2016-08-21 09:41:44 UTC (rev 187235)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: M0Rf30
+# Contributor: Samsagax 
+
+pkgbase=bbswitch
+pkgname=(bbswitch bbswitch-dkms)
+pkgver=0.8
+_extramodules=extramodules-4.7-ARCH # Don't forget to update bbswitch.install
+pkgrel=53
+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')
+makedepends=('linux-headers>=4.7' 'linux-headers<4.8' 'linux>=4.7' 'linux<4.8')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/Bumblebee-Project/bbswitch/archive/v${pkgver}.tar.gz";)
+md5sums=('5b116b31ace3604ddf9d1fc1f4bc5807')
+
+build() {
+  cd ${srcdir}/${pkgbase}-${pkgver}
+
+  _kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
+
+  make KDIR=/lib/modules/${_kernver}/build
+}
+
+package_bbswitch() {
+  depends=('linux>=4.7' 'linux<4.8')
+  install=bbswitch.install
+
+  cd ${srcdir}/${pkgbase}-${pkgver}
+   
+  install -Dm644 bbswitch.ko 
"${pkgdir}"/usr/lib/modules/${_extramodules}/bbswitch.ko
+  gzip "${pkgdir}/usr/lib/modules/${_extramodules}/bbswitch.ko"
  
+}
+
+package_bbswitch-dkms() {
+  depends=('dkms')
+
+  cd ${srcdir}/${pkgbase}-${pkgver}
+
+  install -dm755 "${pkgdir}/usr/src/${pkgbase}-${pkgver}/"
+
+  install -Dm644 Makefile bbswitch.c dkms/dkm

[arch-commits] Commit in bbswitch/repos (6 files)

2016-08-10 Thread Tobias Powalowski
Date: Wednesday, August 10, 2016 @ 08:13:54
  Author: tpowa
Revision: 186296

archrelease: copy trunk to community-testing-i686, community-testing-x86_64

Added:
  bbswitch/repos/community-testing-i686/
  bbswitch/repos/community-testing-i686/PKGBUILD
(from rev 186295, bbswitch/trunk/PKGBUILD)
  bbswitch/repos/community-testing-i686/bbswitch.install
(from rev 186295, bbswitch/trunk/bbswitch.install)
  bbswitch/repos/community-testing-x86_64/
  bbswitch/repos/community-testing-x86_64/PKGBUILD
(from rev 186295, bbswitch/trunk/PKGBUILD)
  bbswitch/repos/community-testing-x86_64/bbswitch.install
(from rev 186295, bbswitch/trunk/bbswitch.install)

---+
 community-testing-i686/PKGBUILD   |   45 
 community-testing-i686/bbswitch.install   |   12 +++
 community-testing-x86_64/PKGBUILD |   45 
 community-testing-x86_64/bbswitch.install |   12 +++
 4 files changed, 114 insertions(+)

Copied: bbswitch/repos/community-testing-i686/PKGBUILD (from rev 186295, 
bbswitch/trunk/PKGBUILD)
===
--- community-testing-i686/PKGBUILD (rev 0)
+++ community-testing-i686/PKGBUILD 2016-08-10 08:13:54 UTC (rev 186296)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: M0Rf30
+# Contributor: Samsagax 
+
+pkgbase=bbswitch
+pkgname=(bbswitch bbswitch-dkms)
+pkgver=0.8
+_extramodules=extramodules-4.7-ARCH # Don't forget to update bbswitch.install
+pkgrel=50
+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')
+makedepends=('linux-headers>=4.7' 'linux-headers<4.8' 'linux>=4.7' 'linux<4.8')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/Bumblebee-Project/bbswitch/archive/v${pkgver}.tar.gz";)
+md5sums=('5b116b31ace3604ddf9d1fc1f4bc5807')
+
+build() {
+  cd ${srcdir}/${pkgbase}-${pkgver}
+
+  _kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
+
+  make KDIR=/lib/modules/${_kernver}/build
+}
+
+package_bbswitch() {
+  depends=('linux>=4.6' 'linux<4.7')
+  install=bbswitch.install
+
+  cd ${srcdir}/${pkgbase}-${pkgver}
+   
+  install -Dm644 bbswitch.ko 
"${pkgdir}"/usr/lib/modules/${_extramodules}/bbswitch.ko
+  gzip "${pkgdir}/usr/lib/modules/${_extramodules}/bbswitch.ko"
  
+}
+
+package_bbswitch-dkms() {
+  depends=('dkms')
+
+  cd ${srcdir}/${pkgbase}-${pkgver}
+
+  install -dm755 "${pkgdir}/usr/src/${pkgbase}-${pkgver}/"
+
+  install -Dm644 Makefile bbswitch.c dkms/dkms.conf 
"${pkgdir}/usr/src/${pkgbase}-${pkgver}/"
+}

Copied: bbswitch/repos/community-testing-i686/bbswitch.install (from rev 
186295, bbswitch/trunk/bbswitch.install)
===
--- community-testing-i686/bbswitch.install (rev 0)
+++ community-testing-i686/bbswitch.install 2016-08-10 08:13:54 UTC (rev 
186296)
@@ -0,0 +1,12 @@
+post_install() {
+EXTRAMODULES='extramodules-4.7-ARCH'
+depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+}
+
+post_upgrade() {
+post_install
+}
+
+post_remove() {
+post_install
+}

Copied: bbswitch/repos/community-testing-x86_64/PKGBUILD (from rev 186295, 
bbswitch/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2016-08-10 08:13:54 UTC (rev 186296)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: M0Rf30
+# Contributor: Samsagax 
+
+pkgbase=bbswitch
+pkgname=(bbswitch bbswitch-dkms)
+pkgver=0.8
+_extramodules=extramodules-4.7-ARCH # Don't forget to update bbswitch.install
+pkgrel=50
+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')
+makedepends=('linux-headers>=4.7' 'linux-headers<4.8' 'linux>=4.7' 'linux<4.8')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/Bumblebee-Project/bbswitch/archive/v${pkgver}.tar.gz";)
+md5sums=('5b116b31ace3604ddf9d1fc1f4bc5807')
+
+build() {
+  cd ${srcdir}/${pkgbase}-${pkgver}
+
+  _kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
+
+  make KDIR=/lib/modules/${_kernver}/build
+}
+
+package_bbswitch() {
+  depends=('linux>=4.6' 'linux<4.7')
+  install=bbswitch.install
+
+  cd ${srcdir}/${pkgbase}-${pkgver}
+   
+  install -Dm644 bbswitch.ko 
"${pkgdir}"/usr/lib/modules/${_extramodules}/bbswitch.ko
+  gzip "${pkgdir}/usr/lib/modules/${_extramodules}/bbswitch.ko"
  
+}
+
+package_bbswitch-dkms() {
+  depends=('dkms')
+
+  cd ${srcdir}/${pkgbase}-${pkgver}
+
+  install -dm755 "${pkgdir}/usr/src/${pkgbase}-${pkgver}/"
+
+  install -Dm644 Makefile bbswitch.c dkms/

[arch-commits] Commit in bbswitch/repos (6 files)

2016-05-16 Thread Tobias Powalowski
Date: Monday, May 16, 2016 @ 20:54:06
  Author: tpowa
Revision: 175496

archrelease: copy trunk to community-testing-i686, community-testing-x86_64

Added:
  bbswitch/repos/community-testing-i686/
  bbswitch/repos/community-testing-i686/PKGBUILD
(from rev 175495, bbswitch/trunk/PKGBUILD)
  bbswitch/repos/community-testing-i686/bbswitch.install
(from rev 175495, bbswitch/trunk/bbswitch.install)
  bbswitch/repos/community-testing-x86_64/
  bbswitch/repos/community-testing-x86_64/PKGBUILD
(from rev 175495, bbswitch/trunk/PKGBUILD)
  bbswitch/repos/community-testing-x86_64/bbswitch.install
(from rev 175495, bbswitch/trunk/bbswitch.install)

---+
 community-testing-i686/PKGBUILD   |   45 
 community-testing-i686/bbswitch.install   |   12 +++
 community-testing-x86_64/PKGBUILD |   45 
 community-testing-x86_64/bbswitch.install |   12 +++
 4 files changed, 114 insertions(+)

Copied: bbswitch/repos/community-testing-i686/PKGBUILD (from rev 175495, 
bbswitch/trunk/PKGBUILD)
===
--- community-testing-i686/PKGBUILD (rev 0)
+++ community-testing-i686/PKGBUILD 2016-05-16 18:54:06 UTC (rev 175496)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: M0Rf30
+# Contributor: Samsagax 
+
+pkgbase=bbswitch
+pkgname=(bbswitch bbswitch-dkms)
+pkgver=0.8
+_extramodules=extramodules-4.6-ARCH # Don't forget to update bbswitch.install
+pkgrel=50
+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')
+makedepends=('linux-headers>=4.6' 'linux-headers<4.7' 'linux>=4.6' 'linux<4.7')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/Bumblebee-Project/bbswitch/archive/v${pkgver}.tar.gz";)
+md5sums=('5b116b31ace3604ddf9d1fc1f4bc5807')
+
+build() {
+  cd ${srcdir}/${pkgbase}-${pkgver}
+
+  _kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
+
+  make KDIR=/lib/modules/${_kernver}/build
+}
+
+package_bbswitch() {
+  depends=('linux>=4.6' 'linux<4.7')
+  install=bbswitch.install
+
+  cd ${srcdir}/${pkgbase}-${pkgver}
+   
+  install -Dm644 bbswitch.ko 
"${pkgdir}"/usr/lib/modules/${_extramodules}/bbswitch.ko
+  gzip "${pkgdir}/usr/lib/modules/${_extramodules}/bbswitch.ko"
  
+}
+
+package_bbswitch-dkms() {
+  depends=('dkms')
+
+  cd ${srcdir}/${pkgbase}-${pkgver}
+
+  install -dm755 "${pkgdir}/usr/src/${pkgbase}-${pkgver}/"
+
+  install -Dm644 Makefile bbswitch.c dkms/dkms.conf 
"${pkgdir}/usr/src/${pkgbase}-${pkgver}/"
+}

Copied: bbswitch/repos/community-testing-i686/bbswitch.install (from rev 
175495, bbswitch/trunk/bbswitch.install)
===
--- community-testing-i686/bbswitch.install (rev 0)
+++ community-testing-i686/bbswitch.install 2016-05-16 18:54:06 UTC (rev 
175496)
@@ -0,0 +1,12 @@
+post_install() {
+EXTRAMODULES='extramodules-4.6-ARCH'
+depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+}
+
+post_upgrade() {
+post_install
+}
+
+post_remove() {
+post_install
+}

Copied: bbswitch/repos/community-testing-x86_64/PKGBUILD (from rev 175495, 
bbswitch/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2016-05-16 18:54:06 UTC (rev 175496)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: M0Rf30
+# Contributor: Samsagax 
+
+pkgbase=bbswitch
+pkgname=(bbswitch bbswitch-dkms)
+pkgver=0.8
+_extramodules=extramodules-4.6-ARCH # Don't forget to update bbswitch.install
+pkgrel=50
+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')
+makedepends=('linux-headers>=4.6' 'linux-headers<4.7' 'linux>=4.6' 'linux<4.7')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/Bumblebee-Project/bbswitch/archive/v${pkgver}.tar.gz";)
+md5sums=('5b116b31ace3604ddf9d1fc1f4bc5807')
+
+build() {
+  cd ${srcdir}/${pkgbase}-${pkgver}
+
+  _kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
+
+  make KDIR=/lib/modules/${_kernver}/build
+}
+
+package_bbswitch() {
+  depends=('linux>=4.6' 'linux<4.7')
+  install=bbswitch.install
+
+  cd ${srcdir}/${pkgbase}-${pkgver}
+   
+  install -Dm644 bbswitch.ko 
"${pkgdir}"/usr/lib/modules/${_extramodules}/bbswitch.ko
+  gzip "${pkgdir}/usr/lib/modules/${_extramodules}/bbswitch.ko"
  
+}
+
+package_bbswitch-dkms() {
+  depends=('dkms')
+
+  cd ${srcdir}/${pkgbase}-${pkgver}
+
+  install -dm755 "${pkgdir}/usr/src/${pkgbase}-${pkgver}/"
+
+  install -Dm644 Makefile bbswitch.c dkms/dkms.c

[arch-commits] Commit in bbswitch/repos (6 files)

2016-05-07 Thread Tobias Powalowski
Date: Saturday, May 7, 2016 @ 21:44:05
  Author: tpowa
Revision: 174238

archrelease: copy trunk to community-testing-i686, community-testing-x86_64

Added:
  bbswitch/repos/community-testing-i686/
  bbswitch/repos/community-testing-i686/PKGBUILD
(from rev 174237, bbswitch/trunk/PKGBUILD)
  bbswitch/repos/community-testing-i686/bbswitch.install
(from rev 174237, bbswitch/trunk/bbswitch.install)
  bbswitch/repos/community-testing-x86_64/
  bbswitch/repos/community-testing-x86_64/PKGBUILD
(from rev 174237, bbswitch/trunk/PKGBUILD)
  bbswitch/repos/community-testing-x86_64/bbswitch.install
(from rev 174237, bbswitch/trunk/bbswitch.install)

---+
 community-testing-i686/PKGBUILD   |   33 
 community-testing-i686/bbswitch.install   |   12 ++
 community-testing-x86_64/PKGBUILD |   33 
 community-testing-x86_64/bbswitch.install |   12 ++
 4 files changed, 90 insertions(+)

Copied: bbswitch/repos/community-testing-i686/PKGBUILD (from rev 174237, 
bbswitch/trunk/PKGBUILD)
===
--- community-testing-i686/PKGBUILD (rev 0)
+++ community-testing-i686/PKGBUILD 2016-05-07 19:44:05 UTC (rev 174238)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: M0Rf30
+# Contributor: Samsagax 
+
+pkgname=bbswitch
+pkgver=0.8
+_extramodules=extramodules-4.5-ARCH # Don't forget to update bbswitch.install
+pkgrel=48
+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>=4.5' 'linux<4.6')
+makedepends=('linux-headers>=4.5' 'linux-headers<4.6')
+install=bbswitch.install
+source=("$pkgname-$pkgver.tar.gz::https://github.com/Bumblebee-Project/bbswitch/archive/v${pkgver}.tar.gz";)
+md5sums=('5b116b31ace3604ddf9d1fc1f4bc5807')
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+
+  _kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
+
+  make KDIR=/lib/modules/${_kernver}/build
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+   
+  install -Dm644 bbswitch.ko 
"${pkgdir}"/usr/lib/modules/${_extramodules}/bbswitch.ko
+  gzip "${pkgdir}/usr/lib/modules/${_extramodules}/bbswitch.ko"
  
+}

Copied: bbswitch/repos/community-testing-i686/bbswitch.install (from rev 
174237, bbswitch/trunk/bbswitch.install)
===
--- community-testing-i686/bbswitch.install (rev 0)
+++ community-testing-i686/bbswitch.install 2016-05-07 19:44:05 UTC (rev 
174238)
@@ -0,0 +1,12 @@
+post_install() {
+EXTRAMODULES='extramodules-4.5-ARCH'
+depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+}
+
+post_upgrade() {
+post_install
+}
+
+post_remove() {
+post_install
+}

Copied: bbswitch/repos/community-testing-x86_64/PKGBUILD (from rev 174237, 
bbswitch/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2016-05-07 19:44:05 UTC (rev 174238)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: M0Rf30
+# Contributor: Samsagax 
+
+pkgname=bbswitch
+pkgver=0.8
+_extramodules=extramodules-4.5-ARCH # Don't forget to update bbswitch.install
+pkgrel=48
+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>=4.5' 'linux<4.6')
+makedepends=('linux-headers>=4.5' 'linux-headers<4.6')
+install=bbswitch.install
+source=("$pkgname-$pkgver.tar.gz::https://github.com/Bumblebee-Project/bbswitch/archive/v${pkgver}.tar.gz";)
+md5sums=('5b116b31ace3604ddf9d1fc1f4bc5807')
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+
+  _kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
+
+  make KDIR=/lib/modules/${_kernver}/build
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+   
+  install -Dm644 bbswitch.ko 
"${pkgdir}"/usr/lib/modules/${_extramodules}/bbswitch.ko
+  gzip "${pkgdir}/usr/lib/modules/${_extramodules}/bbswitch.ko"
  
+}

Copied: bbswitch/repos/community-testing-x86_64/bbswitch.install (from rev 
174237, bbswitch/trunk/bbswitch.install)
===
--- community-testing-x86_64/bbswitch.install   (rev 0)
+++ community-testing-x86_64/bbswitch.install   2016-05-07 19:44:05 UTC (rev 
174238)
@@ -0,0 +1,12 @@
+post_install() {
+EXTRAMODULES='extramodules-4.5-ARCH'
+depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+}
+
+post_upgrade() {
+post_install
+}
+
+post_remove() {
+post_install
+}


[arch-commits] Commit in bbswitch/repos (6 files)

2016-04-21 Thread Tobias Powalowski
Date: Thursday, April 21, 2016 @ 21:53:18
  Author: tpowa
Revision: 171540

archrelease: copy trunk to community-testing-i686, community-testing-x86_64

Added:
  bbswitch/repos/community-testing-i686/
  bbswitch/repos/community-testing-i686/PKGBUILD
(from rev 171539, bbswitch/trunk/PKGBUILD)
  bbswitch/repos/community-testing-i686/bbswitch.install
(from rev 171539, bbswitch/trunk/bbswitch.install)
  bbswitch/repos/community-testing-x86_64/
  bbswitch/repos/community-testing-x86_64/PKGBUILD
(from rev 171539, bbswitch/trunk/PKGBUILD)
  bbswitch/repos/community-testing-x86_64/bbswitch.install
(from rev 171539, bbswitch/trunk/bbswitch.install)

---+
 community-testing-i686/PKGBUILD   |   33 
 community-testing-i686/bbswitch.install   |   12 ++
 community-testing-x86_64/PKGBUILD |   33 
 community-testing-x86_64/bbswitch.install |   12 ++
 4 files changed, 90 insertions(+)

Copied: bbswitch/repos/community-testing-i686/PKGBUILD (from rev 171539, 
bbswitch/trunk/PKGBUILD)
===
--- community-testing-i686/PKGBUILD (rev 0)
+++ community-testing-i686/PKGBUILD 2016-04-21 19:53:18 UTC (rev 171540)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: M0Rf30
+# Contributor: Samsagax 
+
+pkgname=bbswitch
+pkgver=0.8
+_extramodules=extramodules-4.5-ARCH # Don't forget to update bbswitch.install
+pkgrel=47
+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>=4.5' 'linux<4.6')
+makedepends=('linux-headers>=4.5' 'linux-headers<4.6')
+install=bbswitch.install
+source=("$pkgname-$pkgver.tar.gz::https://github.com/Bumblebee-Project/bbswitch/archive/v${pkgver}.tar.gz";)
+md5sums=('5b116b31ace3604ddf9d1fc1f4bc5807')
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+
+  _kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
+
+  make KDIR=/lib/modules/${_kernver}/build
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+   
+  install -Dm644 bbswitch.ko 
"${pkgdir}"/usr/lib/modules/${_extramodules}/bbswitch.ko
+  gzip "${pkgdir}/usr/lib/modules/${_extramodules}/bbswitch.ko"
  
+}

Copied: bbswitch/repos/community-testing-i686/bbswitch.install (from rev 
171539, bbswitch/trunk/bbswitch.install)
===
--- community-testing-i686/bbswitch.install (rev 0)
+++ community-testing-i686/bbswitch.install 2016-04-21 19:53:18 UTC (rev 
171540)
@@ -0,0 +1,12 @@
+post_install() {
+EXTRAMODULES='extramodules-4.5-ARCH'
+depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+}
+
+post_upgrade() {
+post_install
+}
+
+post_remove() {
+post_install
+}

Copied: bbswitch/repos/community-testing-x86_64/PKGBUILD (from rev 171539, 
bbswitch/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2016-04-21 19:53:18 UTC (rev 171540)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: M0Rf30
+# Contributor: Samsagax 
+
+pkgname=bbswitch
+pkgver=0.8
+_extramodules=extramodules-4.5-ARCH # Don't forget to update bbswitch.install
+pkgrel=47
+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>=4.5' 'linux<4.6')
+makedepends=('linux-headers>=4.5' 'linux-headers<4.6')
+install=bbswitch.install
+source=("$pkgname-$pkgver.tar.gz::https://github.com/Bumblebee-Project/bbswitch/archive/v${pkgver}.tar.gz";)
+md5sums=('5b116b31ace3604ddf9d1fc1f4bc5807')
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+
+  _kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
+
+  make KDIR=/lib/modules/${_kernver}/build
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+   
+  install -Dm644 bbswitch.ko 
"${pkgdir}"/usr/lib/modules/${_extramodules}/bbswitch.ko
+  gzip "${pkgdir}/usr/lib/modules/${_extramodules}/bbswitch.ko"
  
+}

Copied: bbswitch/repos/community-testing-x86_64/bbswitch.install (from rev 
171539, bbswitch/trunk/bbswitch.install)
===
--- community-testing-x86_64/bbswitch.install   (rev 0)
+++ community-testing-x86_64/bbswitch.install   2016-04-21 19:53:18 UTC (rev 
171540)
@@ -0,0 +1,12 @@
+post_install() {
+EXTRAMODULES='extramodules-4.5-ARCH'
+depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+}
+
+post_upgrade() {
+post_install
+}
+
+post_remove() {
+post_install
+}


[arch-commits] Commit in bbswitch/repos (6 files)

2016-04-17 Thread Tobias Powalowski
Date: Sunday, April 17, 2016 @ 20:52:54
  Author: tpowa
Revision: 171259

archrelease: copy trunk to community-testing-i686, community-testing-x86_64

Added:
  bbswitch/repos/community-testing-i686/
  bbswitch/repos/community-testing-i686/PKGBUILD
(from rev 171258, bbswitch/trunk/PKGBUILD)
  bbswitch/repos/community-testing-i686/bbswitch.install
(from rev 171258, bbswitch/trunk/bbswitch.install)
  bbswitch/repos/community-testing-x86_64/
  bbswitch/repos/community-testing-x86_64/PKGBUILD
(from rev 171258, bbswitch/trunk/PKGBUILD)
  bbswitch/repos/community-testing-x86_64/bbswitch.install
(from rev 171258, bbswitch/trunk/bbswitch.install)

---+
 community-testing-i686/PKGBUILD   |   33 
 community-testing-i686/bbswitch.install   |   12 ++
 community-testing-x86_64/PKGBUILD |   33 
 community-testing-x86_64/bbswitch.install |   12 ++
 4 files changed, 90 insertions(+)

Copied: bbswitch/repos/community-testing-i686/PKGBUILD (from rev 171258, 
bbswitch/trunk/PKGBUILD)
===
--- community-testing-i686/PKGBUILD (rev 0)
+++ community-testing-i686/PKGBUILD 2016-04-17 18:52:54 UTC (rev 171259)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: M0Rf30
+# Contributor: Samsagax 
+
+pkgname=bbswitch
+pkgver=0.8
+_extramodules=extramodules-4.5-ARCH # Don't forget to update bbswitch.install
+pkgrel=46
+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>=4.5' 'linux<4.6')
+makedepends=('linux-headers>=4.5' 'linux-headers<4.6')
+install=bbswitch.install
+source=("$pkgname-$pkgver.tar.gz::https://github.com/Bumblebee-Project/bbswitch/archive/v${pkgver}.tar.gz";)
+md5sums=('5b116b31ace3604ddf9d1fc1f4bc5807')
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+
+  _kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
+
+  make KDIR=/lib/modules/${_kernver}/build
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+   
+  install -Dm644 bbswitch.ko 
"${pkgdir}"/usr/lib/modules/${_extramodules}/bbswitch.ko
+  gzip "${pkgdir}/usr/lib/modules/${_extramodules}/bbswitch.ko"
  
+}

Copied: bbswitch/repos/community-testing-i686/bbswitch.install (from rev 
171258, bbswitch/trunk/bbswitch.install)
===
--- community-testing-i686/bbswitch.install (rev 0)
+++ community-testing-i686/bbswitch.install 2016-04-17 18:52:54 UTC (rev 
171259)
@@ -0,0 +1,12 @@
+post_install() {
+EXTRAMODULES='extramodules-4.5-ARCH'
+depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+}
+
+post_upgrade() {
+post_install
+}
+
+post_remove() {
+post_install
+}

Copied: bbswitch/repos/community-testing-x86_64/PKGBUILD (from rev 171258, 
bbswitch/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2016-04-17 18:52:54 UTC (rev 171259)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: M0Rf30
+# Contributor: Samsagax 
+
+pkgname=bbswitch
+pkgver=0.8
+_extramodules=extramodules-4.5-ARCH # Don't forget to update bbswitch.install
+pkgrel=46
+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>=4.5' 'linux<4.6')
+makedepends=('linux-headers>=4.5' 'linux-headers<4.6')
+install=bbswitch.install
+source=("$pkgname-$pkgver.tar.gz::https://github.com/Bumblebee-Project/bbswitch/archive/v${pkgver}.tar.gz";)
+md5sums=('5b116b31ace3604ddf9d1fc1f4bc5807')
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+
+  _kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
+
+  make KDIR=/lib/modules/${_kernver}/build
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+   
+  install -Dm644 bbswitch.ko 
"${pkgdir}"/usr/lib/modules/${_extramodules}/bbswitch.ko
+  gzip "${pkgdir}/usr/lib/modules/${_extramodules}/bbswitch.ko"
  
+}

Copied: bbswitch/repos/community-testing-x86_64/bbswitch.install (from rev 
171258, bbswitch/trunk/bbswitch.install)
===
--- community-testing-x86_64/bbswitch.install   (rev 0)
+++ community-testing-x86_64/bbswitch.install   2016-04-17 18:52:54 UTC (rev 
171259)
@@ -0,0 +1,12 @@
+post_install() {
+EXTRAMODULES='extramodules-4.5-ARCH'
+depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+}
+
+post_upgrade() {
+post_install
+}
+
+post_remove() {
+post_install
+}


[arch-commits] Commit in bbswitch/repos (6 files)

2016-03-15 Thread Tobias Powalowski
Date: Tuesday, March 15, 2016 @ 14:34:53
  Author: tpowa
Revision: 166815

archrelease: copy trunk to community-testing-i686, community-testing-x86_64

Added:
  bbswitch/repos/community-testing-i686/
  bbswitch/repos/community-testing-i686/PKGBUILD
(from rev 166814, bbswitch/trunk/PKGBUILD)
  bbswitch/repos/community-testing-i686/bbswitch.install
(from rev 166814, bbswitch/trunk/bbswitch.install)
  bbswitch/repos/community-testing-x86_64/
  bbswitch/repos/community-testing-x86_64/PKGBUILD
(from rev 166814, bbswitch/trunk/PKGBUILD)
  bbswitch/repos/community-testing-x86_64/bbswitch.install
(from rev 166814, bbswitch/trunk/bbswitch.install)

---+
 community-testing-i686/PKGBUILD   |   33 
 community-testing-i686/bbswitch.install   |   12 ++
 community-testing-x86_64/PKGBUILD |   33 
 community-testing-x86_64/bbswitch.install |   12 ++
 4 files changed, 90 insertions(+)

Copied: bbswitch/repos/community-testing-i686/PKGBUILD (from rev 166814, 
bbswitch/trunk/PKGBUILD)
===
--- community-testing-i686/PKGBUILD (rev 0)
+++ community-testing-i686/PKGBUILD 2016-03-15 13:34:53 UTC (rev 166815)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: M0Rf30
+# Contributor: Samsagax 
+
+pkgname=bbswitch
+pkgver=0.8
+_extramodules=extramodules-4.5-ARCH # Don't forget to update bbswitch.install
+pkgrel=45
+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>=4.5' 'linux<4.6')
+makedepends=('linux-headers>=4.5' 'linux-headers<4.6')
+install=bbswitch.install
+source=("$pkgname-$pkgver.tar.gz::https://github.com/Bumblebee-Project/bbswitch/archive/v${pkgver}.tar.gz";)
+md5sums=('5b116b31ace3604ddf9d1fc1f4bc5807')
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+
+  _kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
+
+  make KDIR=/lib/modules/${_kernver}/build
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+   
+  install -Dm644 bbswitch.ko 
"${pkgdir}"/usr/lib/modules/${_extramodules}/bbswitch.ko
+  gzip "${pkgdir}/usr/lib/modules/${_extramodules}/bbswitch.ko"
  
+}

Copied: bbswitch/repos/community-testing-i686/bbswitch.install (from rev 
166814, bbswitch/trunk/bbswitch.install)
===
--- community-testing-i686/bbswitch.install (rev 0)
+++ community-testing-i686/bbswitch.install 2016-03-15 13:34:53 UTC (rev 
166815)
@@ -0,0 +1,12 @@
+post_install() {
+EXTRAMODULES='extramodules-4.5-ARCH'
+depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+}
+
+post_upgrade() {
+post_install
+}
+
+post_remove() {
+post_install
+}

Copied: bbswitch/repos/community-testing-x86_64/PKGBUILD (from rev 166814, 
bbswitch/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2016-03-15 13:34:53 UTC (rev 166815)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: M0Rf30
+# Contributor: Samsagax 
+
+pkgname=bbswitch
+pkgver=0.8
+_extramodules=extramodules-4.5-ARCH # Don't forget to update bbswitch.install
+pkgrel=45
+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>=4.5' 'linux<4.6')
+makedepends=('linux-headers>=4.5' 'linux-headers<4.6')
+install=bbswitch.install
+source=("$pkgname-$pkgver.tar.gz::https://github.com/Bumblebee-Project/bbswitch/archive/v${pkgver}.tar.gz";)
+md5sums=('5b116b31ace3604ddf9d1fc1f4bc5807')
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+
+  _kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
+
+  make KDIR=/lib/modules/${_kernver}/build
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+   
+  install -Dm644 bbswitch.ko 
"${pkgdir}"/usr/lib/modules/${_extramodules}/bbswitch.ko
+  gzip "${pkgdir}/usr/lib/modules/${_extramodules}/bbswitch.ko"
  
+}

Copied: bbswitch/repos/community-testing-x86_64/bbswitch.install (from rev 
166814, bbswitch/trunk/bbswitch.install)
===
--- community-testing-x86_64/bbswitch.install   (rev 0)
+++ community-testing-x86_64/bbswitch.install   2016-03-15 13:34:53 UTC (rev 
166815)
@@ -0,0 +1,12 @@
+post_install() {
+EXTRAMODULES='extramodules-4.5-ARCH'
+depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+}
+
+post_upgrade() {
+post_install
+}
+
+post_remove() {
+post_install
+}


[arch-commits] Commit in bbswitch/repos (6 files)

2016-03-10 Thread Tobias Powalowski
Date: Thursday, March 10, 2016 @ 09:06:27
  Author: tpowa
Revision: 165832

archrelease: copy trunk to community-testing-i686, community-testing-x86_64

Added:
  bbswitch/repos/community-testing-i686/
  bbswitch/repos/community-testing-i686/PKGBUILD
(from rev 165831, bbswitch/trunk/PKGBUILD)
  bbswitch/repos/community-testing-i686/bbswitch.install
(from rev 165831, bbswitch/trunk/bbswitch.install)
  bbswitch/repos/community-testing-x86_64/
  bbswitch/repos/community-testing-x86_64/PKGBUILD
(from rev 165831, bbswitch/trunk/PKGBUILD)
  bbswitch/repos/community-testing-x86_64/bbswitch.install
(from rev 165831, bbswitch/trunk/bbswitch.install)

---+
 community-testing-i686/PKGBUILD   |   33 
 community-testing-i686/bbswitch.install   |   12 ++
 community-testing-x86_64/PKGBUILD |   33 
 community-testing-x86_64/bbswitch.install |   12 ++
 4 files changed, 90 insertions(+)

Copied: bbswitch/repos/community-testing-i686/PKGBUILD (from rev 165831, 
bbswitch/trunk/PKGBUILD)
===
--- community-testing-i686/PKGBUILD (rev 0)
+++ community-testing-i686/PKGBUILD 2016-03-10 08:06:27 UTC (rev 165832)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: M0Rf30
+# Contributor: Samsagax 
+
+pkgname=bbswitch
+pkgver=0.8
+_extramodules=extramodules-4.4-ARCH # Don't forget to update bbswitch.install
+pkgrel=44
+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>=4.4' 'linux<4.5')
+makedepends=('linux-headers>=4.4' 'linux-headers<4.5')
+install=bbswitch.install
+source=("$pkgname-$pkgver.tar.gz::https://github.com/Bumblebee-Project/bbswitch/archive/v${pkgver}.tar.gz";)
+md5sums=('5b116b31ace3604ddf9d1fc1f4bc5807')
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+
+  _kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
+
+  make KDIR=/lib/modules/${_kernver}/build
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+   
+  install -Dm644 bbswitch.ko 
"${pkgdir}"/usr/lib/modules/${_extramodules}/bbswitch.ko
+  gzip "${pkgdir}/usr/lib/modules/${_extramodules}/bbswitch.ko"
  
+}

Copied: bbswitch/repos/community-testing-i686/bbswitch.install (from rev 
165831, bbswitch/trunk/bbswitch.install)
===
--- community-testing-i686/bbswitch.install (rev 0)
+++ community-testing-i686/bbswitch.install 2016-03-10 08:06:27 UTC (rev 
165832)
@@ -0,0 +1,12 @@
+post_install() {
+EXTRAMODULES='extramodules-4.4-ARCH'
+depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+}
+
+post_upgrade() {
+post_install
+}
+
+post_remove() {
+post_install
+}

Copied: bbswitch/repos/community-testing-x86_64/PKGBUILD (from rev 165831, 
bbswitch/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2016-03-10 08:06:27 UTC (rev 165832)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: M0Rf30
+# Contributor: Samsagax 
+
+pkgname=bbswitch
+pkgver=0.8
+_extramodules=extramodules-4.4-ARCH # Don't forget to update bbswitch.install
+pkgrel=44
+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>=4.4' 'linux<4.5')
+makedepends=('linux-headers>=4.4' 'linux-headers<4.5')
+install=bbswitch.install
+source=("$pkgname-$pkgver.tar.gz::https://github.com/Bumblebee-Project/bbswitch/archive/v${pkgver}.tar.gz";)
+md5sums=('5b116b31ace3604ddf9d1fc1f4bc5807')
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+
+  _kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
+
+  make KDIR=/lib/modules/${_kernver}/build
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+   
+  install -Dm644 bbswitch.ko 
"${pkgdir}"/usr/lib/modules/${_extramodules}/bbswitch.ko
+  gzip "${pkgdir}/usr/lib/modules/${_extramodules}/bbswitch.ko"
  
+}

Copied: bbswitch/repos/community-testing-x86_64/bbswitch.install (from rev 
165831, bbswitch/trunk/bbswitch.install)
===
--- community-testing-x86_64/bbswitch.install   (rev 0)
+++ community-testing-x86_64/bbswitch.install   2016-03-10 08:06:27 UTC (rev 
165832)
@@ -0,0 +1,12 @@
+post_install() {
+EXTRAMODULES='extramodules-4.4-ARCH'
+depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+}
+
+post_upgrade() {
+post_install
+}
+
+post_remove() {
+post_install
+}


[arch-commits] Commit in bbswitch/repos (6 files)

2016-02-20 Thread Tobias Powalowski
Date: Saturday, February 20, 2016 @ 15:27:40
  Author: tpowa
Revision: 162757

archrelease: copy trunk to community-testing-i686, community-testing-x86_64

Added:
  bbswitch/repos/community-testing-i686/
  bbswitch/repos/community-testing-i686/PKGBUILD
(from rev 162756, bbswitch/trunk/PKGBUILD)
  bbswitch/repos/community-testing-i686/bbswitch.install
(from rev 162756, bbswitch/trunk/bbswitch.install)
  bbswitch/repos/community-testing-x86_64/
  bbswitch/repos/community-testing-x86_64/PKGBUILD
(from rev 162756, bbswitch/trunk/PKGBUILD)
  bbswitch/repos/community-testing-x86_64/bbswitch.install
(from rev 162756, bbswitch/trunk/bbswitch.install)

---+
 community-testing-i686/PKGBUILD   |   33 
 community-testing-i686/bbswitch.install   |   12 ++
 community-testing-x86_64/PKGBUILD |   33 
 community-testing-x86_64/bbswitch.install |   12 ++
 4 files changed, 90 insertions(+)

Copied: bbswitch/repos/community-testing-i686/PKGBUILD (from rev 162756, 
bbswitch/trunk/PKGBUILD)
===
--- community-testing-i686/PKGBUILD (rev 0)
+++ community-testing-i686/PKGBUILD 2016-02-20 14:27:40 UTC (rev 162757)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: M0Rf30
+# Contributor: Samsagax 
+
+pkgname=bbswitch
+pkgver=0.8
+_extramodules=extramodules-4.4-ARCH # Don't forget to update bbswitch.install
+pkgrel=42
+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>=4.4' 'linux<4.5')
+makedepends=('linux-headers>=4.4' 'linux-headers<4.5')
+install=bbswitch.install
+source=("$pkgname-$pkgver.tar.gz::https://github.com/Bumblebee-Project/bbswitch/archive/v${pkgver}.tar.gz";)
+md5sums=('5b116b31ace3604ddf9d1fc1f4bc5807')
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+
+  _kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
+
+  make KDIR=/lib/modules/${_kernver}/build
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+   
+  install -Dm644 bbswitch.ko 
"${pkgdir}"/usr/lib/modules/${_extramodules}/bbswitch.ko
+  gzip "${pkgdir}/usr/lib/modules/${_extramodules}/bbswitch.ko"
  
+}

Copied: bbswitch/repos/community-testing-i686/bbswitch.install (from rev 
162756, bbswitch/trunk/bbswitch.install)
===
--- community-testing-i686/bbswitch.install (rev 0)
+++ community-testing-i686/bbswitch.install 2016-02-20 14:27:40 UTC (rev 
162757)
@@ -0,0 +1,12 @@
+post_install() {
+EXTRAMODULES='extramodules-4.4-ARCH'
+depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+}
+
+post_upgrade() {
+post_install
+}
+
+post_remove() {
+post_install
+}

Copied: bbswitch/repos/community-testing-x86_64/PKGBUILD (from rev 162756, 
bbswitch/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2016-02-20 14:27:40 UTC (rev 162757)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: M0Rf30
+# Contributor: Samsagax 
+
+pkgname=bbswitch
+pkgver=0.8
+_extramodules=extramodules-4.4-ARCH # Don't forget to update bbswitch.install
+pkgrel=42
+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>=4.4' 'linux<4.5')
+makedepends=('linux-headers>=4.4' 'linux-headers<4.5')
+install=bbswitch.install
+source=("$pkgname-$pkgver.tar.gz::https://github.com/Bumblebee-Project/bbswitch/archive/v${pkgver}.tar.gz";)
+md5sums=('5b116b31ace3604ddf9d1fc1f4bc5807')
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+
+  _kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
+
+  make KDIR=/lib/modules/${_kernver}/build
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+   
+  install -Dm644 bbswitch.ko 
"${pkgdir}"/usr/lib/modules/${_extramodules}/bbswitch.ko
+  gzip "${pkgdir}/usr/lib/modules/${_extramodules}/bbswitch.ko"
  
+}

Copied: bbswitch/repos/community-testing-x86_64/bbswitch.install (from rev 
162756, bbswitch/trunk/bbswitch.install)
===
--- community-testing-x86_64/bbswitch.install   (rev 0)
+++ community-testing-x86_64/bbswitch.install   2016-02-20 14:27:40 UTC (rev 
162757)
@@ -0,0 +1,12 @@
+post_install() {
+EXTRAMODULES='extramodules-4.4-ARCH'
+depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+}
+
+post_upgrade() {
+post_install
+}
+
+post_remove() {
+post_install
+}


[arch-commits] Commit in bbswitch/repos (6 files)

2016-01-13 Thread Tobias Powalowski
Date: Thursday, January 14, 2016 @ 08:55:09
  Author: tpowa
Revision: 156397

archrelease: copy trunk to community-testing-i686, community-testing-x86_64

Added:
  bbswitch/repos/community-testing-i686/
  bbswitch/repos/community-testing-i686/PKGBUILD
(from rev 156396, bbswitch/trunk/PKGBUILD)
  bbswitch/repos/community-testing-i686/bbswitch.install
(from rev 156396, bbswitch/trunk/bbswitch.install)
  bbswitch/repos/community-testing-x86_64/
  bbswitch/repos/community-testing-x86_64/PKGBUILD
(from rev 156396, bbswitch/trunk/PKGBUILD)
  bbswitch/repos/community-testing-x86_64/bbswitch.install
(from rev 156396, bbswitch/trunk/bbswitch.install)

---+
 community-testing-i686/PKGBUILD   |   33 
 community-testing-i686/bbswitch.install   |   12 ++
 community-testing-x86_64/PKGBUILD |   33 
 community-testing-x86_64/bbswitch.install |   12 ++
 4 files changed, 90 insertions(+)

Copied: bbswitch/repos/community-testing-i686/PKGBUILD (from rev 156396, 
bbswitch/trunk/PKGBUILD)
===
--- community-testing-i686/PKGBUILD (rev 0)
+++ community-testing-i686/PKGBUILD 2016-01-14 07:55:09 UTC (rev 156397)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: M0Rf30
+# Contributor: Samsagax 
+
+pkgname=bbswitch
+pkgver=0.8
+_extramodules=extramodules-4.4-ARCH # Don't forget to update bbswitch.install
+pkgrel=40
+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>=4.4' 'linux<4.5')
+makedepends=('linux-headers>=4.4' 'linux-headers<4.5')
+install=bbswitch.install
+source=("$pkgname-$pkgver.tar.gz::https://github.com/Bumblebee-Project/bbswitch/archive/v${pkgver}.tar.gz";)
+md5sums=('5b116b31ace3604ddf9d1fc1f4bc5807')
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+
+  _kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
+
+  make KDIR=/lib/modules/${_kernver}/build
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+   
+  install -Dm644 bbswitch.ko 
"${pkgdir}"/usr/lib/modules/${_extramodules}/bbswitch.ko
+  gzip "${pkgdir}/usr/lib/modules/${_extramodules}/bbswitch.ko"
  
+}

Copied: bbswitch/repos/community-testing-i686/bbswitch.install (from rev 
156396, bbswitch/trunk/bbswitch.install)
===
--- community-testing-i686/bbswitch.install (rev 0)
+++ community-testing-i686/bbswitch.install 2016-01-14 07:55:09 UTC (rev 
156397)
@@ -0,0 +1,12 @@
+post_install() {
+EXTRAMODULES='extramodules-4.4-ARCH'
+depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+}
+
+post_upgrade() {
+post_install
+}
+
+post_remove() {
+post_install
+}

Copied: bbswitch/repos/community-testing-x86_64/PKGBUILD (from rev 156396, 
bbswitch/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2016-01-14 07:55:09 UTC (rev 156397)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: M0Rf30
+# Contributor: Samsagax 
+
+pkgname=bbswitch
+pkgver=0.8
+_extramodules=extramodules-4.4-ARCH # Don't forget to update bbswitch.install
+pkgrel=40
+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>=4.4' 'linux<4.5')
+makedepends=('linux-headers>=4.4' 'linux-headers<4.5')
+install=bbswitch.install
+source=("$pkgname-$pkgver.tar.gz::https://github.com/Bumblebee-Project/bbswitch/archive/v${pkgver}.tar.gz";)
+md5sums=('5b116b31ace3604ddf9d1fc1f4bc5807')
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+
+  _kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
+
+  make KDIR=/lib/modules/${_kernver}/build
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+   
+  install -Dm644 bbswitch.ko 
"${pkgdir}"/usr/lib/modules/${_extramodules}/bbswitch.ko
+  gzip "${pkgdir}/usr/lib/modules/${_extramodules}/bbswitch.ko"
  
+}

Copied: bbswitch/repos/community-testing-x86_64/bbswitch.install (from rev 
156396, bbswitch/trunk/bbswitch.install)
===
--- community-testing-x86_64/bbswitch.install   (rev 0)
+++ community-testing-x86_64/bbswitch.install   2016-01-14 07:55:09 UTC (rev 
156397)
@@ -0,0 +1,12 @@
+post_install() {
+EXTRAMODULES='extramodules-4.4-ARCH'
+depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+}
+
+post_upgrade() {
+post_install
+}
+
+post_remove() {
+post_install
+}


[arch-commits] Commit in bbswitch/repos (6 files)

2015-11-04 Thread Tobias Powalowski
Date: Wednesday, November 4, 2015 @ 16:21:30
  Author: tpowa
Revision: 145972

archrelease: copy trunk to community-testing-i686, community-testing-x86_64

Added:
  bbswitch/repos/community-testing-i686/
  bbswitch/repos/community-testing-i686/PKGBUILD
(from rev 145971, bbswitch/trunk/PKGBUILD)
  bbswitch/repos/community-testing-i686/bbswitch.install
(from rev 145971, bbswitch/trunk/bbswitch.install)
  bbswitch/repos/community-testing-x86_64/
  bbswitch/repos/community-testing-x86_64/PKGBUILD
(from rev 145971, bbswitch/trunk/PKGBUILD)
  bbswitch/repos/community-testing-x86_64/bbswitch.install
(from rev 145971, bbswitch/trunk/bbswitch.install)

---+
 community-testing-i686/PKGBUILD   |   33 
 community-testing-i686/bbswitch.install   |   12 ++
 community-testing-x86_64/PKGBUILD |   33 
 community-testing-x86_64/bbswitch.install |   12 ++
 4 files changed, 90 insertions(+)

Copied: bbswitch/repos/community-testing-i686/PKGBUILD (from rev 145971, 
bbswitch/trunk/PKGBUILD)
===
--- community-testing-i686/PKGBUILD (rev 0)
+++ community-testing-i686/PKGBUILD 2015-11-04 15:21:30 UTC (rev 145972)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: M0Rf30
+# Contributor: Samsagax 
+
+pkgname=bbswitch
+pkgver=0.8
+_extramodules=extramodules-4.3-ARCH # Don't forget to update bbswitch.install
+pkgrel=39
+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>=4.3' 'linux<4.4')
+makedepends=('linux-headers>=4.3' 'linux-headers<4.4')
+install=bbswitch.install
+source=("$pkgname-$pkgver.tar.gz::https://github.com/Bumblebee-Project/bbswitch/archive/v${pkgver}.tar.gz";)
+md5sums=('5b116b31ace3604ddf9d1fc1f4bc5807')
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+
+  _kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
+
+  make KDIR=/lib/modules/${_kernver}/build
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+   
+  install -Dm644 bbswitch.ko 
"${pkgdir}"/usr/lib/modules/${_extramodules}/bbswitch.ko
+  gzip "${pkgdir}/usr/lib/modules/${_extramodules}/bbswitch.ko"
  
+}

Copied: bbswitch/repos/community-testing-i686/bbswitch.install (from rev 
145971, bbswitch/trunk/bbswitch.install)
===
--- community-testing-i686/bbswitch.install (rev 0)
+++ community-testing-i686/bbswitch.install 2015-11-04 15:21:30 UTC (rev 
145972)
@@ -0,0 +1,12 @@
+post_install() {
+EXTRAMODULES='extramodules-4.3-ARCH'
+depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+}
+
+post_upgrade() {
+post_install
+}
+
+post_remove() {
+post_install
+}

Copied: bbswitch/repos/community-testing-x86_64/PKGBUILD (from rev 145971, 
bbswitch/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2015-11-04 15:21:30 UTC (rev 145972)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: M0Rf30
+# Contributor: Samsagax 
+
+pkgname=bbswitch
+pkgver=0.8
+_extramodules=extramodules-4.3-ARCH # Don't forget to update bbswitch.install
+pkgrel=39
+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>=4.3' 'linux<4.4')
+makedepends=('linux-headers>=4.3' 'linux-headers<4.4')
+install=bbswitch.install
+source=("$pkgname-$pkgver.tar.gz::https://github.com/Bumblebee-Project/bbswitch/archive/v${pkgver}.tar.gz";)
+md5sums=('5b116b31ace3604ddf9d1fc1f4bc5807')
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+
+  _kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
+
+  make KDIR=/lib/modules/${_kernver}/build
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+   
+  install -Dm644 bbswitch.ko 
"${pkgdir}"/usr/lib/modules/${_extramodules}/bbswitch.ko
+  gzip "${pkgdir}/usr/lib/modules/${_extramodules}/bbswitch.ko"
  
+}

Copied: bbswitch/repos/community-testing-x86_64/bbswitch.install (from rev 
145971, bbswitch/trunk/bbswitch.install)
===
--- community-testing-x86_64/bbswitch.install   (rev 0)
+++ community-testing-x86_64/bbswitch.install   2015-11-04 15:21:30 UTC (rev 
145972)
@@ -0,0 +1,12 @@
+post_install() {
+EXTRAMODULES='extramodules-4.3-ARCH'
+depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+}
+
+post_upgrade() {
+post_install
+}
+
+post_remove() {
+post_install
+}


[arch-commits] Commit in bbswitch/repos (6 files)

2015-09-03 Thread Tobias Powalowski
Date: Thursday, September 3, 2015 @ 21:28:07
  Author: tpowa
Revision: 139158

archrelease: copy trunk to community-testing-i686, community-testing-x86_64

Added:
  bbswitch/repos/community-testing-i686/
  bbswitch/repos/community-testing-i686/PKGBUILD
(from rev 139157, bbswitch/trunk/PKGBUILD)
  bbswitch/repos/community-testing-i686/bbswitch.install
(from rev 139157, bbswitch/trunk/bbswitch.install)
  bbswitch/repos/community-testing-x86_64/
  bbswitch/repos/community-testing-x86_64/PKGBUILD
(from rev 139157, bbswitch/trunk/PKGBUILD)
  bbswitch/repos/community-testing-x86_64/bbswitch.install
(from rev 139157, bbswitch/trunk/bbswitch.install)

---+
 community-testing-i686/PKGBUILD   |   33 
 community-testing-i686/bbswitch.install   |   12 ++
 community-testing-x86_64/PKGBUILD |   33 
 community-testing-x86_64/bbswitch.install |   12 ++
 4 files changed, 90 insertions(+)

Copied: bbswitch/repos/community-testing-i686/PKGBUILD (from rev 139157, 
bbswitch/trunk/PKGBUILD)
===
--- community-testing-i686/PKGBUILD (rev 0)
+++ community-testing-i686/PKGBUILD 2015-09-03 19:28:07 UTC (rev 139158)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: M0Rf30
+# Contributor: Samsagax 
+
+pkgname=bbswitch
+pkgver=0.8
+_extramodules=extramodules-4.2-ARCH # Don't forget to update bbswitch.install
+pkgrel=37
+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>=4.2' 'linux<4.3')
+makedepends=('linux-headers>=4.2' 'linux-headers<4.3')
+install=bbswitch.install
+source=("$pkgname-$pkgver.tar.gz::https://github.com/Bumblebee-Project/bbswitch/archive/v${pkgver}.tar.gz";)
+md5sums=('5b116b31ace3604ddf9d1fc1f4bc5807')
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+
+  _kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
+
+  make KDIR=/lib/modules/${_kernver}/build
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+   
+  install -Dm644 bbswitch.ko 
"${pkgdir}"/usr/lib/modules/${_extramodules}/bbswitch.ko
+  gzip "${pkgdir}/usr/lib/modules/${_extramodules}/bbswitch.ko"
  
+}

Copied: bbswitch/repos/community-testing-i686/bbswitch.install (from rev 
139157, bbswitch/trunk/bbswitch.install)
===
--- community-testing-i686/bbswitch.install (rev 0)
+++ community-testing-i686/bbswitch.install 2015-09-03 19:28:07 UTC (rev 
139158)
@@ -0,0 +1,12 @@
+post_install() {
+EXTRAMODULES='extramodules-4.2-ARCH'
+depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+}
+
+post_upgrade() {
+post_install
+}
+
+post_remove() {
+post_install
+}

Copied: bbswitch/repos/community-testing-x86_64/PKGBUILD (from rev 139157, 
bbswitch/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2015-09-03 19:28:07 UTC (rev 139158)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: M0Rf30
+# Contributor: Samsagax 
+
+pkgname=bbswitch
+pkgver=0.8
+_extramodules=extramodules-4.2-ARCH # Don't forget to update bbswitch.install
+pkgrel=37
+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>=4.2' 'linux<4.3')
+makedepends=('linux-headers>=4.2' 'linux-headers<4.3')
+install=bbswitch.install
+source=("$pkgname-$pkgver.tar.gz::https://github.com/Bumblebee-Project/bbswitch/archive/v${pkgver}.tar.gz";)
+md5sums=('5b116b31ace3604ddf9d1fc1f4bc5807')
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+
+  _kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
+
+  make KDIR=/lib/modules/${_kernver}/build
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+   
+  install -Dm644 bbswitch.ko 
"${pkgdir}"/usr/lib/modules/${_extramodules}/bbswitch.ko
+  gzip "${pkgdir}/usr/lib/modules/${_extramodules}/bbswitch.ko"
  
+}

Copied: bbswitch/repos/community-testing-x86_64/bbswitch.install (from rev 
139157, bbswitch/trunk/bbswitch.install)
===
--- community-testing-x86_64/bbswitch.install   (rev 0)
+++ community-testing-x86_64/bbswitch.install   2015-09-03 19:28:07 UTC (rev 
139158)
@@ -0,0 +1,12 @@
+post_install() {
+EXTRAMODULES='extramodules-4.2-ARCH'
+depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+}
+
+post_upgrade() {
+post_install
+}
+
+post_remove() {
+post_install
+}


[arch-commits] Commit in bbswitch/repos (6 files)

2015-08-12 Thread Tobias Powalowski
Date: Wednesday, August 12, 2015 @ 09:31:45
  Author: tpowa
Revision: 138266

archrelease: copy trunk to community-testing-i686, community-testing-x86_64

Added:
  bbswitch/repos/community-testing-i686/
  bbswitch/repos/community-testing-i686/PKGBUILD
(from rev 138265, bbswitch/trunk/PKGBUILD)
  bbswitch/repos/community-testing-i686/bbswitch.install
(from rev 138265, bbswitch/trunk/bbswitch.install)
  bbswitch/repos/community-testing-x86_64/
  bbswitch/repos/community-testing-x86_64/PKGBUILD
(from rev 138265, bbswitch/trunk/PKGBUILD)
  bbswitch/repos/community-testing-x86_64/bbswitch.install
(from rev 138265, bbswitch/trunk/bbswitch.install)

---+
 community-testing-i686/PKGBUILD   |   33 
 community-testing-i686/bbswitch.install   |   12 ++
 community-testing-x86_64/PKGBUILD |   33 
 community-testing-x86_64/bbswitch.install |   12 ++
 4 files changed, 90 insertions(+)

Copied: bbswitch/repos/community-testing-i686/PKGBUILD (from rev 138265, 
bbswitch/trunk/PKGBUILD)
===
--- community-testing-i686/PKGBUILD (rev 0)
+++ community-testing-i686/PKGBUILD 2015-08-12 07:31:45 UTC (rev 138266)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: M0Rf30
+# Contributor: Samsagax 
+
+pkgname=bbswitch
+pkgver=0.8
+_extramodules=extramodules-4.1-ARCH # Don't forget to update bbswitch.install
+pkgrel=36
+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>=4.1' 'linux<4.2')
+makedepends=('linux-headers>=4.1' 'linux-headers<4.2')
+install=bbswitch.install
+source=("$pkgname-$pkgver.tar.gz::https://github.com/Bumblebee-Project/bbswitch/archive/v${pkgver}.tar.gz";)
+md5sums=('5b116b31ace3604ddf9d1fc1f4bc5807')
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+
+  _kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
+
+  make KDIR=/lib/modules/${_kernver}/build
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+   
+  install -Dm644 bbswitch.ko 
"${pkgdir}"/usr/lib/modules/${_extramodules}/bbswitch.ko
+  gzip "${pkgdir}/usr/lib/modules/${_extramodules}/bbswitch.ko"
  
+}

Copied: bbswitch/repos/community-testing-i686/bbswitch.install (from rev 
138265, bbswitch/trunk/bbswitch.install)
===
--- community-testing-i686/bbswitch.install (rev 0)
+++ community-testing-i686/bbswitch.install 2015-08-12 07:31:45 UTC (rev 
138266)
@@ -0,0 +1,12 @@
+post_install() {
+EXTRAMODULES='extramodules-4.1-ARCH'
+depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+}
+
+post_upgrade() {
+post_install
+}
+
+post_remove() {
+post_install
+}

Copied: bbswitch/repos/community-testing-x86_64/PKGBUILD (from rev 138265, 
bbswitch/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2015-08-12 07:31:45 UTC (rev 138266)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: M0Rf30
+# Contributor: Samsagax 
+
+pkgname=bbswitch
+pkgver=0.8
+_extramodules=extramodules-4.1-ARCH # Don't forget to update bbswitch.install
+pkgrel=36
+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>=4.1' 'linux<4.2')
+makedepends=('linux-headers>=4.1' 'linux-headers<4.2')
+install=bbswitch.install
+source=("$pkgname-$pkgver.tar.gz::https://github.com/Bumblebee-Project/bbswitch/archive/v${pkgver}.tar.gz";)
+md5sums=('5b116b31ace3604ddf9d1fc1f4bc5807')
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+
+  _kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
+
+  make KDIR=/lib/modules/${_kernver}/build
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+   
+  install -Dm644 bbswitch.ko 
"${pkgdir}"/usr/lib/modules/${_extramodules}/bbswitch.ko
+  gzip "${pkgdir}/usr/lib/modules/${_extramodules}/bbswitch.ko"
  
+}

Copied: bbswitch/repos/community-testing-x86_64/bbswitch.install (from rev 
138265, bbswitch/trunk/bbswitch.install)
===
--- community-testing-x86_64/bbswitch.install   (rev 0)
+++ community-testing-x86_64/bbswitch.install   2015-08-12 07:31:45 UTC (rev 
138266)
@@ -0,0 +1,12 @@
+post_install() {
+EXTRAMODULES='extramodules-4.1-ARCH'
+depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+}
+
+post_upgrade() {
+post_install
+}
+
+post_remove() {
+post_install
+}


[arch-commits] Commit in bbswitch/repos (6 files)

2015-08-03 Thread Evangelos Foutras
Date: Tuesday, August 4, 2015 @ 00:19:36
  Author: foutrelis
Revision: 137868

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  bbswitch/repos/community-staging-i686/
  bbswitch/repos/community-staging-i686/PKGBUILD
(from rev 137867, bbswitch/trunk/PKGBUILD)
  bbswitch/repos/community-staging-i686/bbswitch.install
(from rev 137867, bbswitch/trunk/bbswitch.install)
  bbswitch/repos/community-staging-x86_64/
  bbswitch/repos/community-staging-x86_64/PKGBUILD
(from rev 137867, bbswitch/trunk/PKGBUILD)
  bbswitch/repos/community-staging-x86_64/bbswitch.install
(from rev 137867, bbswitch/trunk/bbswitch.install)

---+
 community-staging-i686/PKGBUILD   |   33 
 community-staging-i686/bbswitch.install   |   12 ++
 community-staging-x86_64/PKGBUILD |   33 
 community-staging-x86_64/bbswitch.install |   12 ++
 4 files changed, 90 insertions(+)

Copied: bbswitch/repos/community-staging-i686/PKGBUILD (from rev 137867, 
bbswitch/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2015-08-03 22:19:36 UTC (rev 137868)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: M0Rf30
+# Contributor: Samsagax 
+
+pkgname=bbswitch
+pkgver=0.8
+_extramodules=extramodules-4.1-ARCH # Don't forget to update bbswitch.install
+pkgrel=35
+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>=4.1' 'linux<4.2')
+makedepends=('linux-headers>=4.1' 'linux-headers<4.2')
+install=bbswitch.install
+source=("$pkgname-$pkgver.tar.gz::https://github.com/Bumblebee-Project/bbswitch/archive/v${pkgver}.tar.gz";)
+md5sums=('5b116b31ace3604ddf9d1fc1f4bc5807')
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+
+  _kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
+
+  make KDIR=/lib/modules/${_kernver}/build
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+   
+  install -Dm644 bbswitch.ko 
"${pkgdir}"/usr/lib/modules/${_extramodules}/bbswitch.ko
+  gzip "${pkgdir}/usr/lib/modules/${_extramodules}/bbswitch.ko"
  
+}

Copied: bbswitch/repos/community-staging-i686/bbswitch.install (from rev 
137867, bbswitch/trunk/bbswitch.install)
===
--- community-staging-i686/bbswitch.install (rev 0)
+++ community-staging-i686/bbswitch.install 2015-08-03 22:19:36 UTC (rev 
137868)
@@ -0,0 +1,12 @@
+post_install() {
+EXTRAMODULES='extramodules-4.1-ARCH'
+depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+}
+
+post_upgrade() {
+post_install
+}
+
+post_remove() {
+post_install
+}

Copied: bbswitch/repos/community-staging-x86_64/PKGBUILD (from rev 137867, 
bbswitch/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2015-08-03 22:19:36 UTC (rev 137868)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: M0Rf30
+# Contributor: Samsagax 
+
+pkgname=bbswitch
+pkgver=0.8
+_extramodules=extramodules-4.1-ARCH # Don't forget to update bbswitch.install
+pkgrel=35
+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>=4.1' 'linux<4.2')
+makedepends=('linux-headers>=4.1' 'linux-headers<4.2')
+install=bbswitch.install
+source=("$pkgname-$pkgver.tar.gz::https://github.com/Bumblebee-Project/bbswitch/archive/v${pkgver}.tar.gz";)
+md5sums=('5b116b31ace3604ddf9d1fc1f4bc5807')
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+
+  _kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
+
+  make KDIR=/lib/modules/${_kernver}/build
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+   
+  install -Dm644 bbswitch.ko 
"${pkgdir}"/usr/lib/modules/${_extramodules}/bbswitch.ko
+  gzip "${pkgdir}/usr/lib/modules/${_extramodules}/bbswitch.ko"
  
+}

Copied: bbswitch/repos/community-staging-x86_64/bbswitch.install (from rev 
137867, bbswitch/trunk/bbswitch.install)
===
--- community-staging-x86_64/bbswitch.install   (rev 0)
+++ community-staging-x86_64/bbswitch.install   2015-08-03 22:19:36 UTC (rev 
137868)
@@ -0,0 +1,12 @@
+post_install() {
+EXTRAMODULES='extramodules-4.1-ARCH'
+depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+}
+
+post_upgrade() {
+post_install
+}
+
+post_remove() {
+post_install
+}


[arch-commits] Commit in bbswitch/repos (6 files)

2015-07-10 Thread Evangelos Foutras
Date: Friday, July 10, 2015 @ 20:25:55
  Author: foutrelis
Revision: 136640

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  bbswitch/repos/community-staging-i686/
  bbswitch/repos/community-staging-i686/PKGBUILD
(from rev 136639, bbswitch/trunk/PKGBUILD)
  bbswitch/repos/community-staging-i686/bbswitch.install
(from rev 136639, bbswitch/trunk/bbswitch.install)
  bbswitch/repos/community-staging-x86_64/
  bbswitch/repos/community-staging-x86_64/PKGBUILD
(from rev 136639, bbswitch/trunk/PKGBUILD)
  bbswitch/repos/community-staging-x86_64/bbswitch.install
(from rev 136639, bbswitch/trunk/bbswitch.install)

---+
 community-staging-i686/PKGBUILD   |   33 
 community-staging-i686/bbswitch.install   |   12 ++
 community-staging-x86_64/PKGBUILD |   33 
 community-staging-x86_64/bbswitch.install |   12 ++
 4 files changed, 90 insertions(+)

Copied: bbswitch/repos/community-staging-i686/PKGBUILD (from rev 136639, 
bbswitch/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2015-07-10 18:25:55 UTC (rev 136640)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: M0Rf30
+# Contributor: Samsagax 
+
+pkgname=bbswitch
+pkgver=0.8
+_extramodules=extramodules-4.1-ARCH # Don't forget to update bbswitch.install
+pkgrel=34
+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>=4.1' 'linux<4.2')
+makedepends=('linux-headers>=4.1' 'linux-headers<4.2')
+install=bbswitch.install
+source=("$pkgname-$pkgver.tar.gz::https://github.com/Bumblebee-Project/bbswitch/archive/v${pkgver}.tar.gz";)
+md5sums=('5b116b31ace3604ddf9d1fc1f4bc5807')
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+
+  _kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
+
+  make KDIR=/lib/modules/${_kernver}/build
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+   
+  install -Dm644 bbswitch.ko 
"${pkgdir}"/usr/lib/modules/${_extramodules}/bbswitch.ko
+  gzip "${pkgdir}/usr/lib/modules/${_extramodules}/bbswitch.ko"
  
+}

Copied: bbswitch/repos/community-staging-i686/bbswitch.install (from rev 
136639, bbswitch/trunk/bbswitch.install)
===
--- community-staging-i686/bbswitch.install (rev 0)
+++ community-staging-i686/bbswitch.install 2015-07-10 18:25:55 UTC (rev 
136640)
@@ -0,0 +1,12 @@
+post_install() {
+EXTRAMODULES='extramodules-4.1-ARCH'
+depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+}
+
+post_upgrade() {
+post_install
+}
+
+post_remove() {
+post_install
+}

Copied: bbswitch/repos/community-staging-x86_64/PKGBUILD (from rev 136639, 
bbswitch/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2015-07-10 18:25:55 UTC (rev 136640)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: M0Rf30
+# Contributor: Samsagax 
+
+pkgname=bbswitch
+pkgver=0.8
+_extramodules=extramodules-4.1-ARCH # Don't forget to update bbswitch.install
+pkgrel=34
+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>=4.1' 'linux<4.2')
+makedepends=('linux-headers>=4.1' 'linux-headers<4.2')
+install=bbswitch.install
+source=("$pkgname-$pkgver.tar.gz::https://github.com/Bumblebee-Project/bbswitch/archive/v${pkgver}.tar.gz";)
+md5sums=('5b116b31ace3604ddf9d1fc1f4bc5807')
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+
+  _kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
+
+  make KDIR=/lib/modules/${_kernver}/build
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+   
+  install -Dm644 bbswitch.ko 
"${pkgdir}"/usr/lib/modules/${_extramodules}/bbswitch.ko
+  gzip "${pkgdir}/usr/lib/modules/${_extramodules}/bbswitch.ko"
  
+}

Copied: bbswitch/repos/community-staging-x86_64/bbswitch.install (from rev 
136639, bbswitch/trunk/bbswitch.install)
===
--- community-staging-x86_64/bbswitch.install   (rev 0)
+++ community-staging-x86_64/bbswitch.install   2015-07-10 18:25:55 UTC (rev 
136640)
@@ -0,0 +1,12 @@
+post_install() {
+EXTRAMODULES='extramodules-4.1-ARCH'
+depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+}
+
+post_upgrade() {
+post_install
+}
+
+post_remove() {
+post_install
+}


[arch-commits] Commit in bbswitch/repos (6 files)

2015-07-04 Thread Evangelos Foutras
Date: Saturday, July 4, 2015 @ 15:35:56
  Author: foutrelis
Revision: 136385

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  bbswitch/repos/community-staging-i686/
  bbswitch/repos/community-staging-i686/PKGBUILD
(from rev 136384, bbswitch/trunk/PKGBUILD)
  bbswitch/repos/community-staging-i686/bbswitch.install
(from rev 136384, bbswitch/trunk/bbswitch.install)
  bbswitch/repos/community-staging-x86_64/
  bbswitch/repos/community-staging-x86_64/PKGBUILD
(from rev 136384, bbswitch/trunk/PKGBUILD)
  bbswitch/repos/community-staging-x86_64/bbswitch.install
(from rev 136384, bbswitch/trunk/bbswitch.install)

---+
 community-staging-i686/PKGBUILD   |   33 
 community-staging-i686/bbswitch.install   |   12 ++
 community-staging-x86_64/PKGBUILD |   33 
 community-staging-x86_64/bbswitch.install |   12 ++
 4 files changed, 90 insertions(+)

Copied: bbswitch/repos/community-staging-i686/PKGBUILD (from rev 136384, 
bbswitch/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2015-07-04 13:35:56 UTC (rev 136385)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: M0Rf30
+# Contributor: Samsagax 
+
+pkgname=bbswitch
+pkgver=0.8
+_extramodules=extramodules-4.1-ARCH # Don't forget to update bbswitch.install
+pkgrel=32
+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>=4.1' 'linux<4.2')
+makedepends=('linux-headers>=4.1' 'linux-headers<4.2')
+install=bbswitch.install
+source=("$pkgname-$pkgver.tar.gz::https://github.com/Bumblebee-Project/bbswitch/archive/v${pkgver}.tar.gz";)
+md5sums=('5b116b31ace3604ddf9d1fc1f4bc5807')
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+
+  _kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
+
+  make KDIR=/lib/modules/${_kernver}/build
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+   
+  install -Dm644 bbswitch.ko 
"${pkgdir}"/usr/lib/modules/${_extramodules}/bbswitch.ko
+  gzip "${pkgdir}/usr/lib/modules/${_extramodules}/bbswitch.ko"
  
+}

Copied: bbswitch/repos/community-staging-i686/bbswitch.install (from rev 
136384, bbswitch/trunk/bbswitch.install)
===
--- community-staging-i686/bbswitch.install (rev 0)
+++ community-staging-i686/bbswitch.install 2015-07-04 13:35:56 UTC (rev 
136385)
@@ -0,0 +1,12 @@
+post_install() {
+EXTRAMODULES='extramodules-4.1-ARCH'
+depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+}
+
+post_upgrade() {
+post_install
+}
+
+post_remove() {
+post_install
+}

Copied: bbswitch/repos/community-staging-x86_64/PKGBUILD (from rev 136384, 
bbswitch/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2015-07-04 13:35:56 UTC (rev 136385)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: M0Rf30
+# Contributor: Samsagax 
+
+pkgname=bbswitch
+pkgver=0.8
+_extramodules=extramodules-4.1-ARCH # Don't forget to update bbswitch.install
+pkgrel=32
+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>=4.1' 'linux<4.2')
+makedepends=('linux-headers>=4.1' 'linux-headers<4.2')
+install=bbswitch.install
+source=("$pkgname-$pkgver.tar.gz::https://github.com/Bumblebee-Project/bbswitch/archive/v${pkgver}.tar.gz";)
+md5sums=('5b116b31ace3604ddf9d1fc1f4bc5807')
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+
+  _kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
+
+  make KDIR=/lib/modules/${_kernver}/build
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+   
+  install -Dm644 bbswitch.ko 
"${pkgdir}"/usr/lib/modules/${_extramodules}/bbswitch.ko
+  gzip "${pkgdir}/usr/lib/modules/${_extramodules}/bbswitch.ko"
  
+}

Copied: bbswitch/repos/community-staging-x86_64/bbswitch.install (from rev 
136384, bbswitch/trunk/bbswitch.install)
===
--- community-staging-x86_64/bbswitch.install   (rev 0)
+++ community-staging-x86_64/bbswitch.install   2015-07-04 13:35:56 UTC (rev 
136385)
@@ -0,0 +1,12 @@
+post_install() {
+EXTRAMODULES='extramodules-4.1-ARCH'
+depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+}
+
+post_upgrade() {
+post_install
+}
+
+post_remove() {
+post_install
+}


[arch-commits] Commit in bbswitch/repos (6 files)

2015-04-13 Thread Evangelos Foutras
Date: Monday, April 13, 2015 @ 13:33:22
  Author: foutrelis
Revision: 131289

archrelease: copy trunk to community-testing-i686, community-testing-x86_64

Added:
  bbswitch/repos/community-testing-i686/
  bbswitch/repos/community-testing-i686/PKGBUILD
(from rev 131288, bbswitch/trunk/PKGBUILD)
  bbswitch/repos/community-testing-i686/bbswitch.install
(from rev 131288, bbswitch/trunk/bbswitch.install)
  bbswitch/repos/community-testing-x86_64/
  bbswitch/repos/community-testing-x86_64/PKGBUILD
(from rev 131288, bbswitch/trunk/PKGBUILD)
  bbswitch/repos/community-testing-x86_64/bbswitch.install
(from rev 131288, bbswitch/trunk/bbswitch.install)

---+
 community-testing-i686/PKGBUILD   |   33 
 community-testing-i686/bbswitch.install   |   12 ++
 community-testing-x86_64/PKGBUILD |   33 
 community-testing-x86_64/bbswitch.install |   12 ++
 4 files changed, 90 insertions(+)

Copied: bbswitch/repos/community-testing-i686/PKGBUILD (from rev 131288, 
bbswitch/trunk/PKGBUILD)
===
--- community-testing-i686/PKGBUILD (rev 0)
+++ community-testing-i686/PKGBUILD 2015-04-13 11:33:22 UTC (rev 131289)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: M0Rf30
+# Contributor: Samsagax 
+
+pkgname=bbswitch
+pkgver=0.8
+_extramodules=extramodules-4.0-ARCH # Don't forget to update bbswitch.install
+pkgrel=30
+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>=4.0' 'linux<4.1')
+makedepends=('linux-headers>=4.0' 'linux-headers<4.1')
+install=bbswitch.install
+source=("$pkgname-$pkgver.tar.gz::https://github.com/Bumblebee-Project/bbswitch/archive/v${pkgver}.tar.gz";)
+md5sums=('5b116b31ace3604ddf9d1fc1f4bc5807')
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+
+  _kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
+
+  make KDIR=/lib/modules/${_kernver}/build
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+   
+  install -Dm644 bbswitch.ko 
"${pkgdir}"/usr/lib/modules/${_extramodules}/bbswitch.ko
+  gzip "${pkgdir}/usr/lib/modules/${_extramodules}/bbswitch.ko"
  
+}

Copied: bbswitch/repos/community-testing-i686/bbswitch.install (from rev 
131288, bbswitch/trunk/bbswitch.install)
===
--- community-testing-i686/bbswitch.install (rev 0)
+++ community-testing-i686/bbswitch.install 2015-04-13 11:33:22 UTC (rev 
131289)
@@ -0,0 +1,12 @@
+post_install() {
+EXTRAMODULES='extramodules-4.0-ARCH'
+depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+}
+
+post_upgrade() {
+post_install
+}
+
+post_remove() {
+post_install
+}

Copied: bbswitch/repos/community-testing-x86_64/PKGBUILD (from rev 131288, 
bbswitch/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2015-04-13 11:33:22 UTC (rev 131289)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: M0Rf30
+# Contributor: Samsagax 
+
+pkgname=bbswitch
+pkgver=0.8
+_extramodules=extramodules-4.0-ARCH # Don't forget to update bbswitch.install
+pkgrel=30
+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>=4.0' 'linux<4.1')
+makedepends=('linux-headers>=4.0' 'linux-headers<4.1')
+install=bbswitch.install
+source=("$pkgname-$pkgver.tar.gz::https://github.com/Bumblebee-Project/bbswitch/archive/v${pkgver}.tar.gz";)
+md5sums=('5b116b31ace3604ddf9d1fc1f4bc5807')
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+
+  _kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
+
+  make KDIR=/lib/modules/${_kernver}/build
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+   
+  install -Dm644 bbswitch.ko 
"${pkgdir}"/usr/lib/modules/${_extramodules}/bbswitch.ko
+  gzip "${pkgdir}/usr/lib/modules/${_extramodules}/bbswitch.ko"
  
+}

Copied: bbswitch/repos/community-testing-x86_64/bbswitch.install (from rev 
131288, bbswitch/trunk/bbswitch.install)
===
--- community-testing-x86_64/bbswitch.install   (rev 0)
+++ community-testing-x86_64/bbswitch.install   2015-04-13 11:33:22 UTC (rev 
131289)
@@ -0,0 +1,12 @@
+post_install() {
+EXTRAMODULES='extramodules-4.0-ARCH'
+depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+}
+
+post_upgrade() {
+post_install
+}
+
+post_remove() {
+post_install
+}


[arch-commits] Commit in bbswitch/repos (6 files)

2015-03-26 Thread Tobias Powalowski
Date: Thursday, March 26, 2015 @ 15:23:32
  Author: tpowa
Revision: 129966

archrelease: copy trunk to community-testing-i686, community-testing-x86_64

Added:
  bbswitch/repos/community-testing-i686/
  bbswitch/repos/community-testing-i686/PKGBUILD
(from rev 129965, bbswitch/trunk/PKGBUILD)
  bbswitch/repos/community-testing-i686/bbswitch.install
(from rev 129965, bbswitch/trunk/bbswitch.install)
  bbswitch/repos/community-testing-x86_64/
  bbswitch/repos/community-testing-x86_64/PKGBUILD
(from rev 129965, bbswitch/trunk/PKGBUILD)
  bbswitch/repos/community-testing-x86_64/bbswitch.install
(from rev 129965, bbswitch/trunk/bbswitch.install)

---+
 community-testing-i686/PKGBUILD   |   33 
 community-testing-i686/bbswitch.install   |   12 ++
 community-testing-x86_64/PKGBUILD |   33 
 community-testing-x86_64/bbswitch.install |   12 ++
 4 files changed, 90 insertions(+)

Copied: bbswitch/repos/community-testing-i686/PKGBUILD (from rev 129965, 
bbswitch/trunk/PKGBUILD)
===
--- community-testing-i686/PKGBUILD (rev 0)
+++ community-testing-i686/PKGBUILD 2015-03-26 14:23:32 UTC (rev 129966)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: M0Rf30
+# Contributor: Samsagax 
+
+pkgname=bbswitch
+pkgver=0.8
+_extramodules=extramodules-3.19-ARCH # Don't forget to update bbswitch.install
+pkgrel=29
+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.19' 'linux<3.20')
+makedepends=('linux-headers>=3.19' 'linux-headers<3.20')
+install=bbswitch.install
+source=("$pkgname-$pkgver.tar.gz::https://github.com/Bumblebee-Project/bbswitch/archive/v${pkgver}.tar.gz";)
+md5sums=('5b116b31ace3604ddf9d1fc1f4bc5807')
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+
+  _kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
+
+  make KDIR=/lib/modules/${_kernver}/build
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+   
+  install -Dm644 bbswitch.ko 
"${pkgdir}"/usr/lib/modules/${_extramodules}/bbswitch.ko
+  gzip "${pkgdir}/usr/lib/modules/${_extramodules}/bbswitch.ko"
  
+}

Copied: bbswitch/repos/community-testing-i686/bbswitch.install (from rev 
129965, bbswitch/trunk/bbswitch.install)
===
--- community-testing-i686/bbswitch.install (rev 0)
+++ community-testing-i686/bbswitch.install 2015-03-26 14:23:32 UTC (rev 
129966)
@@ -0,0 +1,12 @@
+post_install() {
+EXTRAMODULES='extramodules-3.19-ARCH'
+depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+}
+
+post_upgrade() {
+post_install
+}
+
+post_remove() {
+post_install
+}

Copied: bbswitch/repos/community-testing-x86_64/PKGBUILD (from rev 129965, 
bbswitch/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2015-03-26 14:23:32 UTC (rev 129966)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: M0Rf30
+# Contributor: Samsagax 
+
+pkgname=bbswitch
+pkgver=0.8
+_extramodules=extramodules-3.19-ARCH # Don't forget to update bbswitch.install
+pkgrel=29
+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.19' 'linux<3.20')
+makedepends=('linux-headers>=3.19' 'linux-headers<3.20')
+install=bbswitch.install
+source=("$pkgname-$pkgver.tar.gz::https://github.com/Bumblebee-Project/bbswitch/archive/v${pkgver}.tar.gz";)
+md5sums=('5b116b31ace3604ddf9d1fc1f4bc5807')
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+
+  _kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
+
+  make KDIR=/lib/modules/${_kernver}/build
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+   
+  install -Dm644 bbswitch.ko 
"${pkgdir}"/usr/lib/modules/${_extramodules}/bbswitch.ko
+  gzip "${pkgdir}/usr/lib/modules/${_extramodules}/bbswitch.ko"
  
+}

Copied: bbswitch/repos/community-testing-x86_64/bbswitch.install (from rev 
129965, bbswitch/trunk/bbswitch.install)
===
--- community-testing-x86_64/bbswitch.install   (rev 0)
+++ community-testing-x86_64/bbswitch.install   2015-03-26 14:23:32 UTC (rev 
129966)
@@ -0,0 +1,12 @@
+post_install() {
+EXTRAMODULES='extramodules-3.19-ARCH'
+depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+}
+
+post_upgrade() {
+post_install
+}
+
+post_remove() {
+post_install
+}


[arch-commits] Commit in bbswitch/repos (6 files)

2015-02-09 Thread Evangelos Foutras
Date: Monday, February 9, 2015 @ 16:18:01
  Author: foutrelis
Revision: 127404

archrelease: copy trunk to community-testing-i686, community-testing-x86_64

Added:
  bbswitch/repos/community-testing-i686/
  bbswitch/repos/community-testing-i686/PKGBUILD
(from rev 127403, bbswitch/trunk/PKGBUILD)
  bbswitch/repos/community-testing-i686/bbswitch.install
(from rev 127403, bbswitch/trunk/bbswitch.install)
  bbswitch/repos/community-testing-x86_64/
  bbswitch/repos/community-testing-x86_64/PKGBUILD
(from rev 127403, bbswitch/trunk/PKGBUILD)
  bbswitch/repos/community-testing-x86_64/bbswitch.install
(from rev 127403, bbswitch/trunk/bbswitch.install)

---+
 community-testing-i686/PKGBUILD   |   33 
 community-testing-i686/bbswitch.install   |   12 ++
 community-testing-x86_64/PKGBUILD |   33 
 community-testing-x86_64/bbswitch.install |   12 ++
 4 files changed, 90 insertions(+)

Copied: bbswitch/repos/community-testing-i686/PKGBUILD (from rev 127403, 
bbswitch/trunk/PKGBUILD)
===
--- community-testing-i686/PKGBUILD (rev 0)
+++ community-testing-i686/PKGBUILD 2015-02-09 15:18:01 UTC (rev 127404)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: M0Rf30
+# Contributor: Samsagax 
+
+pkgname=bbswitch
+pkgver=0.8
+_extramodules=extramodules-3.19-ARCH # Don't forget to update bbswitch.install
+pkgrel=26
+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.19' 'linux<3.20')
+makedepends=('linux-headers>=3.19' 'linux-headers<3.20')
+install=bbswitch.install
+source=("https://github.com/Bumblebee-Project/bbswitch/archive/v${pkgver}.tar.gz";)
+md5sums=('5b116b31ace3604ddf9d1fc1f4bc5807')
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+
+  _kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
+
+  make KDIR=/lib/modules/${_kernver}/build
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+   
+  install -Dm644 bbswitch.ko 
"${pkgdir}"/usr/lib/modules/${_extramodules}/bbswitch.ko
+  gzip "${pkgdir}/usr/lib/modules/${_extramodules}/bbswitch.ko"
  
+}

Copied: bbswitch/repos/community-testing-i686/bbswitch.install (from rev 
127403, bbswitch/trunk/bbswitch.install)
===
--- community-testing-i686/bbswitch.install (rev 0)
+++ community-testing-i686/bbswitch.install 2015-02-09 15:18:01 UTC (rev 
127404)
@@ -0,0 +1,12 @@
+post_install() {
+EXTRAMODULES='extramodules-3.19-ARCH'
+depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+}
+
+post_upgrade() {
+post_install
+}
+
+post_remove() {
+post_install
+}

Copied: bbswitch/repos/community-testing-x86_64/PKGBUILD (from rev 127403, 
bbswitch/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2015-02-09 15:18:01 UTC (rev 127404)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: M0Rf30
+# Contributor: Samsagax 
+
+pkgname=bbswitch
+pkgver=0.8
+_extramodules=extramodules-3.19-ARCH # Don't forget to update bbswitch.install
+pkgrel=26
+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.19' 'linux<3.20')
+makedepends=('linux-headers>=3.19' 'linux-headers<3.20')
+install=bbswitch.install
+source=("https://github.com/Bumblebee-Project/bbswitch/archive/v${pkgver}.tar.gz";)
+md5sums=('5b116b31ace3604ddf9d1fc1f4bc5807')
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+
+  _kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
+
+  make KDIR=/lib/modules/${_kernver}/build
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+   
+  install -Dm644 bbswitch.ko 
"${pkgdir}"/usr/lib/modules/${_extramodules}/bbswitch.ko
+  gzip "${pkgdir}/usr/lib/modules/${_extramodules}/bbswitch.ko"
  
+}

Copied: bbswitch/repos/community-testing-x86_64/bbswitch.install (from rev 
127403, bbswitch/trunk/bbswitch.install)
===
--- community-testing-x86_64/bbswitch.install   (rev 0)
+++ community-testing-x86_64/bbswitch.install   2015-02-09 15:18:01 UTC (rev 
127404)
@@ -0,0 +1,12 @@
+post_install() {
+EXTRAMODULES='extramodules-3.19-ARCH'
+depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+}
+
+post_upgrade() {
+post_install
+}
+
+post_remove() {
+post_install
+}


[arch-commits] Commit in bbswitch/repos (6 files)

2015-02-07 Thread Tobias Powalowski
Date: Saturday, February 7, 2015 @ 11:13:06
  Author: tpowa
Revision: 127222

archrelease: copy trunk to community-testing-i686, community-testing-x86_64

Added:
  bbswitch/repos/community-testing-i686/
  bbswitch/repos/community-testing-i686/PKGBUILD
(from rev 127221, bbswitch/trunk/PKGBUILD)
  bbswitch/repos/community-testing-i686/bbswitch.install
(from rev 127221, bbswitch/trunk/bbswitch.install)
  bbswitch/repos/community-testing-x86_64/
  bbswitch/repos/community-testing-x86_64/PKGBUILD
(from rev 127221, bbswitch/trunk/PKGBUILD)
  bbswitch/repos/community-testing-x86_64/bbswitch.install
(from rev 127221, bbswitch/trunk/bbswitch.install)

---+
 community-testing-i686/PKGBUILD   |   33 
 community-testing-i686/bbswitch.install   |   12 ++
 community-testing-x86_64/PKGBUILD |   33 
 community-testing-x86_64/bbswitch.install |   12 ++
 4 files changed, 90 insertions(+)

Copied: bbswitch/repos/community-testing-i686/PKGBUILD (from rev 127221, 
bbswitch/trunk/PKGBUILD)
===
--- community-testing-i686/PKGBUILD (rev 0)
+++ community-testing-i686/PKGBUILD 2015-02-07 10:13:06 UTC (rev 127222)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: M0Rf30
+# Contributor: Samsagax 
+
+pkgname=bbswitch
+pkgver=0.8
+_extramodules=extramodules-3.18-ARCH # Don't forget to update bbswitch.install
+pkgrel=25
+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.18' 'linux<3.19')
+makedepends=('linux-headers>=3.18' 'linux-headers<3.19')
+install=bbswitch.install
+source=("https://github.com/Bumblebee-Project/bbswitch/archive/v${pkgver}.tar.gz";)
+md5sums=('5b116b31ace3604ddf9d1fc1f4bc5807')
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+
+  _kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
+
+  make KDIR=/lib/modules/${_kernver}/build
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+   
+  install -Dm644 bbswitch.ko 
"${pkgdir}"/usr/lib/modules/${_extramodules}/bbswitch.ko
+  gzip "${pkgdir}/usr/lib/modules/${_extramodules}/bbswitch.ko"
  
+}

Copied: bbswitch/repos/community-testing-i686/bbswitch.install (from rev 
127221, bbswitch/trunk/bbswitch.install)
===
--- community-testing-i686/bbswitch.install (rev 0)
+++ community-testing-i686/bbswitch.install 2015-02-07 10:13:06 UTC (rev 
127222)
@@ -0,0 +1,12 @@
+post_install() {
+EXTRAMODULES='extramodules-3.18-ARCH'
+depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+}
+
+post_upgrade() {
+post_install
+}
+
+post_remove() {
+post_install
+}

Copied: bbswitch/repos/community-testing-x86_64/PKGBUILD (from rev 127221, 
bbswitch/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2015-02-07 10:13:06 UTC (rev 127222)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: M0Rf30
+# Contributor: Samsagax 
+
+pkgname=bbswitch
+pkgver=0.8
+_extramodules=extramodules-3.18-ARCH # Don't forget to update bbswitch.install
+pkgrel=25
+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.18' 'linux<3.19')
+makedepends=('linux-headers>=3.18' 'linux-headers<3.19')
+install=bbswitch.install
+source=("https://github.com/Bumblebee-Project/bbswitch/archive/v${pkgver}.tar.gz";)
+md5sums=('5b116b31ace3604ddf9d1fc1f4bc5807')
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+
+  _kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
+
+  make KDIR=/lib/modules/${_kernver}/build
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+   
+  install -Dm644 bbswitch.ko 
"${pkgdir}"/usr/lib/modules/${_extramodules}/bbswitch.ko
+  gzip "${pkgdir}/usr/lib/modules/${_extramodules}/bbswitch.ko"
  
+}

Copied: bbswitch/repos/community-testing-x86_64/bbswitch.install (from rev 
127221, bbswitch/trunk/bbswitch.install)
===
--- community-testing-x86_64/bbswitch.install   (rev 0)
+++ community-testing-x86_64/bbswitch.install   2015-02-07 10:13:06 UTC (rev 
127222)
@@ -0,0 +1,12 @@
+post_install() {
+EXTRAMODULES='extramodules-3.18-ARCH'
+depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+}
+
+post_upgrade() {
+post_install
+}
+
+post_remove() {
+post_install
+}


[arch-commits] Commit in bbswitch/repos (6 files)

2015-01-30 Thread Tobias Powalowski
Date: Friday, January 30, 2015 @ 13:42:22
  Author: tpowa
Revision: 126792

archrelease: copy trunk to community-testing-i686, community-testing-x86_64

Added:
  bbswitch/repos/community-testing-i686/
  bbswitch/repos/community-testing-i686/PKGBUILD
(from rev 126791, bbswitch/trunk/PKGBUILD)
  bbswitch/repos/community-testing-i686/bbswitch.install
(from rev 126791, bbswitch/trunk/bbswitch.install)
  bbswitch/repos/community-testing-x86_64/
  bbswitch/repos/community-testing-x86_64/PKGBUILD
(from rev 126791, bbswitch/trunk/PKGBUILD)
  bbswitch/repos/community-testing-x86_64/bbswitch.install
(from rev 126791, bbswitch/trunk/bbswitch.install)

---+
 community-testing-i686/PKGBUILD   |   33 
 community-testing-i686/bbswitch.install   |   12 ++
 community-testing-x86_64/PKGBUILD |   33 
 community-testing-x86_64/bbswitch.install |   12 ++
 4 files changed, 90 insertions(+)

Copied: bbswitch/repos/community-testing-i686/PKGBUILD (from rev 126791, 
bbswitch/trunk/PKGBUILD)
===
--- community-testing-i686/PKGBUILD (rev 0)
+++ community-testing-i686/PKGBUILD 2015-01-30 12:42:22 UTC (rev 126792)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: M0Rf30
+# Contributor: Samsagax 
+
+pkgname=bbswitch
+pkgver=0.8
+_extramodules=extramodules-3.18-ARCH # Don't forget to update bbswitch.install
+pkgrel=24
+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.18' 'linux<3.19')
+makedepends=('linux-headers>=3.18' 'linux-headers<3.19')
+install=bbswitch.install
+source=("https://github.com/Bumblebee-Project/bbswitch/archive/v${pkgver}.tar.gz";)
+md5sums=('5b116b31ace3604ddf9d1fc1f4bc5807')
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+
+  _kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
+
+  make KDIR=/lib/modules/${_kernver}/build
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+   
+  install -Dm644 bbswitch.ko 
"${pkgdir}"/usr/lib/modules/${_extramodules}/bbswitch.ko
+  gzip "${pkgdir}/usr/lib/modules/${_extramodules}/bbswitch.ko"
  
+}

Copied: bbswitch/repos/community-testing-i686/bbswitch.install (from rev 
126791, bbswitch/trunk/bbswitch.install)
===
--- community-testing-i686/bbswitch.install (rev 0)
+++ community-testing-i686/bbswitch.install 2015-01-30 12:42:22 UTC (rev 
126792)
@@ -0,0 +1,12 @@
+post_install() {
+EXTRAMODULES='extramodules-3.18-ARCH'
+depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+}
+
+post_upgrade() {
+post_install
+}
+
+post_remove() {
+post_install
+}

Copied: bbswitch/repos/community-testing-x86_64/PKGBUILD (from rev 126791, 
bbswitch/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2015-01-30 12:42:22 UTC (rev 126792)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: M0Rf30
+# Contributor: Samsagax 
+
+pkgname=bbswitch
+pkgver=0.8
+_extramodules=extramodules-3.18-ARCH # Don't forget to update bbswitch.install
+pkgrel=24
+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.18' 'linux<3.19')
+makedepends=('linux-headers>=3.18' 'linux-headers<3.19')
+install=bbswitch.install
+source=("https://github.com/Bumblebee-Project/bbswitch/archive/v${pkgver}.tar.gz";)
+md5sums=('5b116b31ace3604ddf9d1fc1f4bc5807')
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+
+  _kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
+
+  make KDIR=/lib/modules/${_kernver}/build
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+   
+  install -Dm644 bbswitch.ko 
"${pkgdir}"/usr/lib/modules/${_extramodules}/bbswitch.ko
+  gzip "${pkgdir}/usr/lib/modules/${_extramodules}/bbswitch.ko"
  
+}

Copied: bbswitch/repos/community-testing-x86_64/bbswitch.install (from rev 
126791, bbswitch/trunk/bbswitch.install)
===
--- community-testing-x86_64/bbswitch.install   (rev 0)
+++ community-testing-x86_64/bbswitch.install   2015-01-30 12:42:22 UTC (rev 
126792)
@@ -0,0 +1,12 @@
+post_install() {
+EXTRAMODULES='extramodules-3.18-ARCH'
+depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+}
+
+post_upgrade() {
+post_install
+}
+
+post_remove() {
+post_install
+}


[arch-commits] Commit in bbswitch/repos (6 files)

2015-01-27 Thread Evangelos Foutras
Date: Tuesday, January 27, 2015 @ 23:03:53
  Author: foutrelis
Revision: 126663

archrelease: copy trunk to community-testing-i686, community-testing-x86_64

Added:
  bbswitch/repos/community-testing-i686/
  bbswitch/repos/community-testing-i686/PKGBUILD
(from rev 126662, bbswitch/trunk/PKGBUILD)
  bbswitch/repos/community-testing-i686/bbswitch.install
(from rev 126662, bbswitch/trunk/bbswitch.install)
  bbswitch/repos/community-testing-x86_64/
  bbswitch/repos/community-testing-x86_64/PKGBUILD
(from rev 126662, bbswitch/trunk/PKGBUILD)
  bbswitch/repos/community-testing-x86_64/bbswitch.install
(from rev 126662, bbswitch/trunk/bbswitch.install)

---+
 community-testing-i686/PKGBUILD   |   33 
 community-testing-i686/bbswitch.install   |   12 ++
 community-testing-x86_64/PKGBUILD |   33 
 community-testing-x86_64/bbswitch.install |   12 ++
 4 files changed, 90 insertions(+)

Copied: bbswitch/repos/community-testing-i686/PKGBUILD (from rev 126662, 
bbswitch/trunk/PKGBUILD)
===
--- community-testing-i686/PKGBUILD (rev 0)
+++ community-testing-i686/PKGBUILD 2015-01-27 22:03:53 UTC (rev 126663)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: M0Rf30
+# Contributor: Samsagax 
+
+pkgname=bbswitch
+pkgver=0.8
+_extramodules=extramodules-3.18-ARCH # Don't forget to update bbswitch.install
+pkgrel=23
+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.18' 'linux<3.19')
+makedepends=('linux-headers>=3.18' 'linux-headers<3.19')
+install=bbswitch.install
+source=("https://github.com/Bumblebee-Project/bbswitch/archive/v${pkgver}.tar.gz";)
+md5sums=('5b116b31ace3604ddf9d1fc1f4bc5807')
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+
+  _kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
+
+  make KDIR=/lib/modules/${_kernver}/build
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+   
+  install -Dm644 bbswitch.ko 
"${pkgdir}"/usr/lib/modules/${_extramodules}/bbswitch.ko
+  gzip "${pkgdir}/usr/lib/modules/${_extramodules}/bbswitch.ko"
  
+}

Copied: bbswitch/repos/community-testing-i686/bbswitch.install (from rev 
126662, bbswitch/trunk/bbswitch.install)
===
--- community-testing-i686/bbswitch.install (rev 0)
+++ community-testing-i686/bbswitch.install 2015-01-27 22:03:53 UTC (rev 
126663)
@@ -0,0 +1,12 @@
+post_install() {
+EXTRAMODULES='extramodules-3.18-ARCH'
+depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+}
+
+post_upgrade() {
+post_install
+}
+
+post_remove() {
+post_install
+}

Copied: bbswitch/repos/community-testing-x86_64/PKGBUILD (from rev 126662, 
bbswitch/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2015-01-27 22:03:53 UTC (rev 126663)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: M0Rf30
+# Contributor: Samsagax 
+
+pkgname=bbswitch
+pkgver=0.8
+_extramodules=extramodules-3.18-ARCH # Don't forget to update bbswitch.install
+pkgrel=23
+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.18' 'linux<3.19')
+makedepends=('linux-headers>=3.18' 'linux-headers<3.19')
+install=bbswitch.install
+source=("https://github.com/Bumblebee-Project/bbswitch/archive/v${pkgver}.tar.gz";)
+md5sums=('5b116b31ace3604ddf9d1fc1f4bc5807')
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+
+  _kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
+
+  make KDIR=/lib/modules/${_kernver}/build
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+   
+  install -Dm644 bbswitch.ko 
"${pkgdir}"/usr/lib/modules/${_extramodules}/bbswitch.ko
+  gzip "${pkgdir}/usr/lib/modules/${_extramodules}/bbswitch.ko"
  
+}

Copied: bbswitch/repos/community-testing-x86_64/bbswitch.install (from rev 
126662, bbswitch/trunk/bbswitch.install)
===
--- community-testing-x86_64/bbswitch.install   (rev 0)
+++ community-testing-x86_64/bbswitch.install   2015-01-27 22:03:53 UTC (rev 
126663)
@@ -0,0 +1,12 @@
+post_install() {
+EXTRAMODULES='extramodules-3.18-ARCH'
+depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+}
+
+post_upgrade() {
+post_install
+}
+
+post_remove() {
+post_install
+}


[arch-commits] Commit in bbswitch/repos (6 files)

2014-12-17 Thread Tobias Powalowski
Date: Wednesday, December 17, 2014 @ 17:02:24
  Author: tpowa
Revision: 124032

archrelease: copy trunk to community-testing-i686, community-testing-x86_64

Added:
  bbswitch/repos/community-testing-i686/
  bbswitch/repos/community-testing-i686/PKGBUILD
(from rev 124031, bbswitch/trunk/PKGBUILD)
  bbswitch/repos/community-testing-i686/bbswitch.install
(from rev 124031, bbswitch/trunk/bbswitch.install)
  bbswitch/repos/community-testing-x86_64/
  bbswitch/repos/community-testing-x86_64/PKGBUILD
(from rev 124031, bbswitch/trunk/PKGBUILD)
  bbswitch/repos/community-testing-x86_64/bbswitch.install
(from rev 124031, bbswitch/trunk/bbswitch.install)

---+
 community-testing-i686/PKGBUILD   |   33 
 community-testing-i686/bbswitch.install   |   12 ++
 community-testing-x86_64/PKGBUILD |   33 
 community-testing-x86_64/bbswitch.install |   12 ++
 4 files changed, 90 insertions(+)

Copied: bbswitch/repos/community-testing-i686/PKGBUILD (from rev 124031, 
bbswitch/trunk/PKGBUILD)
===
--- community-testing-i686/PKGBUILD (rev 0)
+++ community-testing-i686/PKGBUILD 2014-12-17 16:02:24 UTC (rev 124032)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: M0Rf30
+# Contributor: Samsagax 
+
+pkgname=bbswitch
+pkgver=0.8
+_extramodules=extramodules-3.18-ARCH # Don't forget to update bbswitch.install
+pkgrel=21
+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.18' 'linux<3.19')
+makedepends=('linux-headers>=3.18' 'linux-headers<3.19')
+install=bbswitch.install
+source=("https://github.com/Bumblebee-Project/bbswitch/archive/v${pkgver}.tar.gz";)
+md5sums=('5b116b31ace3604ddf9d1fc1f4bc5807')
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+
+  _kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
+
+  make KDIR=/lib/modules/${_kernver}/build
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+   
+  install -Dm644 bbswitch.ko 
"${pkgdir}"/usr/lib/modules/${_extramodules}/bbswitch.ko
+  gzip "${pkgdir}/usr/lib/modules/${_extramodules}/bbswitch.ko"
  
+}

Copied: bbswitch/repos/community-testing-i686/bbswitch.install (from rev 
124031, bbswitch/trunk/bbswitch.install)
===
--- community-testing-i686/bbswitch.install (rev 0)
+++ community-testing-i686/bbswitch.install 2014-12-17 16:02:24 UTC (rev 
124032)
@@ -0,0 +1,12 @@
+post_install() {
+EXTRAMODULES='extramodules-3.18-ARCH'
+depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+}
+
+post_upgrade() {
+post_install
+}
+
+post_remove() {
+post_install
+}

Copied: bbswitch/repos/community-testing-x86_64/PKGBUILD (from rev 124031, 
bbswitch/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2014-12-17 16:02:24 UTC (rev 124032)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: M0Rf30
+# Contributor: Samsagax 
+
+pkgname=bbswitch
+pkgver=0.8
+_extramodules=extramodules-3.18-ARCH # Don't forget to update bbswitch.install
+pkgrel=21
+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.18' 'linux<3.19')
+makedepends=('linux-headers>=3.18' 'linux-headers<3.19')
+install=bbswitch.install
+source=("https://github.com/Bumblebee-Project/bbswitch/archive/v${pkgver}.tar.gz";)
+md5sums=('5b116b31ace3604ddf9d1fc1f4bc5807')
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+
+  _kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
+
+  make KDIR=/lib/modules/${_kernver}/build
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+   
+  install -Dm644 bbswitch.ko 
"${pkgdir}"/usr/lib/modules/${_extramodules}/bbswitch.ko
+  gzip "${pkgdir}/usr/lib/modules/${_extramodules}/bbswitch.ko"
  
+}

Copied: bbswitch/repos/community-testing-x86_64/bbswitch.install (from rev 
124031, bbswitch/trunk/bbswitch.install)
===
--- community-testing-x86_64/bbswitch.install   (rev 0)
+++ community-testing-x86_64/bbswitch.install   2014-12-17 16:02:24 UTC (rev 
124032)
@@ -0,0 +1,12 @@
+post_install() {
+EXTRAMODULES='extramodules-3.18-ARCH'
+depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+}
+
+post_upgrade() {
+post_install
+}
+
+post_remove() {
+post_install
+}


[arch-commits] Commit in bbswitch/repos (6 files)

2014-12-07 Thread Evangelos Foutras
Date: Sunday, December 7, 2014 @ 09:09:55
  Author: foutrelis
Revision: 123570

archrelease: copy trunk to community-testing-i686, community-testing-x86_64

Added:
  bbswitch/repos/community-testing-i686/
  bbswitch/repos/community-testing-i686/PKGBUILD
(from rev 123569, bbswitch/trunk/PKGBUILD)
  bbswitch/repos/community-testing-i686/bbswitch.install
(from rev 123569, bbswitch/trunk/bbswitch.install)
  bbswitch/repos/community-testing-x86_64/
  bbswitch/repos/community-testing-x86_64/PKGBUILD
(from rev 123569, bbswitch/trunk/PKGBUILD)
  bbswitch/repos/community-testing-x86_64/bbswitch.install
(from rev 123569, bbswitch/trunk/bbswitch.install)

---+
 community-testing-i686/PKGBUILD   |   33 
 community-testing-i686/bbswitch.install   |   12 ++
 community-testing-x86_64/PKGBUILD |   33 
 community-testing-x86_64/bbswitch.install |   12 ++
 4 files changed, 90 insertions(+)

Copied: bbswitch/repos/community-testing-i686/PKGBUILD (from rev 123569, 
bbswitch/trunk/PKGBUILD)
===
--- community-testing-i686/PKGBUILD (rev 0)
+++ community-testing-i686/PKGBUILD 2014-12-07 08:09:55 UTC (rev 123570)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: M0Rf30
+# Contributor: Samsagax 
+
+pkgname=bbswitch
+pkgver=0.8
+_extramodules=extramodules-3.17-ARCH # Don't forget to update bbswitch.install
+pkgrel=20
+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.17' 'linux<3.18')
+makedepends=('linux-headers>=3.17' 'linux-headers<3.18')
+install=bbswitch.install
+source=("https://github.com/Bumblebee-Project/bbswitch/archive/v${pkgver}.tar.gz";)
+md5sums=('5b116b31ace3604ddf9d1fc1f4bc5807')
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+
+  _kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
+
+  make KDIR=/lib/modules/${_kernver}/build
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+   
+  install -Dm644 bbswitch.ko 
"${pkgdir}"/usr/lib/modules/${_extramodules}/bbswitch.ko
+  gzip "${pkgdir}/usr/lib/modules/${_extramodules}/bbswitch.ko"
  
+}

Copied: bbswitch/repos/community-testing-i686/bbswitch.install (from rev 
123569, bbswitch/trunk/bbswitch.install)
===
--- community-testing-i686/bbswitch.install (rev 0)
+++ community-testing-i686/bbswitch.install 2014-12-07 08:09:55 UTC (rev 
123570)
@@ -0,0 +1,12 @@
+post_install() {
+EXTRAMODULES='extramodules-3.17-ARCH'
+depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+}
+
+post_upgrade() {
+post_install
+}
+
+post_remove() {
+post_install
+}

Copied: bbswitch/repos/community-testing-x86_64/PKGBUILD (from rev 123569, 
bbswitch/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2014-12-07 08:09:55 UTC (rev 123570)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: M0Rf30
+# Contributor: Samsagax 
+
+pkgname=bbswitch
+pkgver=0.8
+_extramodules=extramodules-3.17-ARCH # Don't forget to update bbswitch.install
+pkgrel=20
+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.17' 'linux<3.18')
+makedepends=('linux-headers>=3.17' 'linux-headers<3.18')
+install=bbswitch.install
+source=("https://github.com/Bumblebee-Project/bbswitch/archive/v${pkgver}.tar.gz";)
+md5sums=('5b116b31ace3604ddf9d1fc1f4bc5807')
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+
+  _kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
+
+  make KDIR=/lib/modules/${_kernver}/build
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+   
+  install -Dm644 bbswitch.ko 
"${pkgdir}"/usr/lib/modules/${_extramodules}/bbswitch.ko
+  gzip "${pkgdir}/usr/lib/modules/${_extramodules}/bbswitch.ko"
  
+}

Copied: bbswitch/repos/community-testing-x86_64/bbswitch.install (from rev 
123569, bbswitch/trunk/bbswitch.install)
===
--- community-testing-x86_64/bbswitch.install   (rev 0)
+++ community-testing-x86_64/bbswitch.install   2014-12-07 08:09:55 UTC (rev 
123570)
@@ -0,0 +1,12 @@
+post_install() {
+EXTRAMODULES='extramodules-3.17-ARCH'
+depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+}
+
+post_upgrade() {
+post_install
+}
+
+post_remove() {
+post_install
+}


[arch-commits] Commit in bbswitch/repos (6 files)

2014-11-22 Thread Tobias Powalowski
Date: Saturday, November 22, 2014 @ 11:39:47
  Author: tpowa
Revision: 122909

archrelease: copy trunk to community-testing-i686, community-testing-x86_64

Added:
  bbswitch/repos/community-testing-i686/
  bbswitch/repos/community-testing-i686/PKGBUILD
(from rev 122908, bbswitch/trunk/PKGBUILD)
  bbswitch/repos/community-testing-i686/bbswitch.install
(from rev 122908, bbswitch/trunk/bbswitch.install)
  bbswitch/repos/community-testing-x86_64/
  bbswitch/repos/community-testing-x86_64/PKGBUILD
(from rev 122908, bbswitch/trunk/PKGBUILD)
  bbswitch/repos/community-testing-x86_64/bbswitch.install
(from rev 122908, bbswitch/trunk/bbswitch.install)

---+
 community-testing-i686/PKGBUILD   |   33 
 community-testing-i686/bbswitch.install   |   12 ++
 community-testing-x86_64/PKGBUILD |   33 
 community-testing-x86_64/bbswitch.install |   12 ++
 4 files changed, 90 insertions(+)

Copied: bbswitch/repos/community-testing-i686/PKGBUILD (from rev 122908, 
bbswitch/trunk/PKGBUILD)
===
--- community-testing-i686/PKGBUILD (rev 0)
+++ community-testing-i686/PKGBUILD 2014-11-22 10:39:47 UTC (rev 122909)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: M0Rf30
+# Contributor: Samsagax 
+
+pkgname=bbswitch
+pkgver=0.8
+_extramodules=extramodules-3.17-ARCH # Don't forget to update bbswitch.install
+pkgrel=19
+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.17' 'linux<3.18')
+makedepends=('linux-headers>=3.17' 'linux-headers<3.18')
+install=bbswitch.install
+source=("https://github.com/Bumblebee-Project/bbswitch/archive/v${pkgver}.tar.gz";)
+md5sums=('5b116b31ace3604ddf9d1fc1f4bc5807')
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+
+  _kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
+
+  make KDIR=/lib/modules/${_kernver}/build
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+   
+  install -Dm644 bbswitch.ko 
"${pkgdir}"/usr/lib/modules/${_extramodules}/bbswitch.ko
+  gzip "${pkgdir}/usr/lib/modules/${_extramodules}/bbswitch.ko"
  
+}

Copied: bbswitch/repos/community-testing-i686/bbswitch.install (from rev 
122908, bbswitch/trunk/bbswitch.install)
===
--- community-testing-i686/bbswitch.install (rev 0)
+++ community-testing-i686/bbswitch.install 2014-11-22 10:39:47 UTC (rev 
122909)
@@ -0,0 +1,12 @@
+post_install() {
+EXTRAMODULES='extramodules-3.17-ARCH'
+depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+}
+
+post_upgrade() {
+post_install
+}
+
+post_remove() {
+post_install
+}

Copied: bbswitch/repos/community-testing-x86_64/PKGBUILD (from rev 122908, 
bbswitch/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2014-11-22 10:39:47 UTC (rev 122909)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: M0Rf30
+# Contributor: Samsagax 
+
+pkgname=bbswitch
+pkgver=0.8
+_extramodules=extramodules-3.17-ARCH # Don't forget to update bbswitch.install
+pkgrel=19
+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.17' 'linux<3.18')
+makedepends=('linux-headers>=3.17' 'linux-headers<3.18')
+install=bbswitch.install
+source=("https://github.com/Bumblebee-Project/bbswitch/archive/v${pkgver}.tar.gz";)
+md5sums=('5b116b31ace3604ddf9d1fc1f4bc5807')
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+
+  _kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
+
+  make KDIR=/lib/modules/${_kernver}/build
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+   
+  install -Dm644 bbswitch.ko 
"${pkgdir}"/usr/lib/modules/${_extramodules}/bbswitch.ko
+  gzip "${pkgdir}/usr/lib/modules/${_extramodules}/bbswitch.ko"
  
+}

Copied: bbswitch/repos/community-testing-x86_64/bbswitch.install (from rev 
122908, bbswitch/trunk/bbswitch.install)
===
--- community-testing-x86_64/bbswitch.install   (rev 0)
+++ community-testing-x86_64/bbswitch.install   2014-11-22 10:39:47 UTC (rev 
122909)
@@ -0,0 +1,12 @@
+post_install() {
+EXTRAMODULES='extramodules-3.17-ARCH'
+depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+}
+
+post_upgrade() {
+post_install
+}
+
+post_remove() {
+post_install
+}


[arch-commits] Commit in bbswitch/repos (6 files)

2014-10-05 Thread Tobias Powalowski
Date: Monday, October 6, 2014 @ 08:48:31
  Author: tpowa
Revision: 120209

archrelease: copy trunk to community-testing-i686, community-testing-x86_64

Added:
  bbswitch/repos/community-testing-i686/
  bbswitch/repos/community-testing-i686/PKGBUILD
(from rev 120208, bbswitch/trunk/PKGBUILD)
  bbswitch/repos/community-testing-i686/bbswitch.install
(from rev 120208, bbswitch/trunk/bbswitch.install)
  bbswitch/repos/community-testing-x86_64/
  bbswitch/repos/community-testing-x86_64/PKGBUILD
(from rev 120208, bbswitch/trunk/PKGBUILD)
  bbswitch/repos/community-testing-x86_64/bbswitch.install
(from rev 120208, bbswitch/trunk/bbswitch.install)

---+
 community-testing-i686/PKGBUILD   |   33 
 community-testing-i686/bbswitch.install   |   12 ++
 community-testing-x86_64/PKGBUILD |   33 
 community-testing-x86_64/bbswitch.install |   12 ++
 4 files changed, 90 insertions(+)

Copied: bbswitch/repos/community-testing-i686/PKGBUILD (from rev 120208, 
bbswitch/trunk/PKGBUILD)
===
--- community-testing-i686/PKGBUILD (rev 0)
+++ community-testing-i686/PKGBUILD 2014-10-06 06:48:31 UTC (rev 120209)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: M0Rf30
+# Contributor: Samsagax 
+
+pkgname=bbswitch
+pkgver=0.8
+_extramodules=extramodules-3.16-ARCH # Don't forget to update bbswitch.install
+pkgrel=17
+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.16' 'linux<3.17')
+makedepends=('linux-headers>=3.16' 'linux-headers<3.17')
+install=bbswitch.install
+source=("https://github.com/Bumblebee-Project/bbswitch/archive/v${pkgver}.tar.gz";)
+md5sums=('5b116b31ace3604ddf9d1fc1f4bc5807')
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+
+  _kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
+
+  make KDIR=/lib/modules/${_kernver}/build
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+   
+  install -Dm644 bbswitch.ko 
"${pkgdir}"/usr/lib/modules/${_extramodules}/bbswitch.ko
+  gzip "${pkgdir}/usr/lib/modules/${_extramodules}/bbswitch.ko"
  
+}

Copied: bbswitch/repos/community-testing-i686/bbswitch.install (from rev 
120208, bbswitch/trunk/bbswitch.install)
===
--- community-testing-i686/bbswitch.install (rev 0)
+++ community-testing-i686/bbswitch.install 2014-10-06 06:48:31 UTC (rev 
120209)
@@ -0,0 +1,12 @@
+post_install() {
+EXTRAMODULES='extramodules-3.16-ARCH'
+depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+}
+
+post_upgrade() {
+post_install
+}
+
+post_remove() {
+post_install
+}

Copied: bbswitch/repos/community-testing-x86_64/PKGBUILD (from rev 120208, 
bbswitch/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2014-10-06 06:48:31 UTC (rev 120209)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: M0Rf30
+# Contributor: Samsagax 
+
+pkgname=bbswitch
+pkgver=0.8
+_extramodules=extramodules-3.16-ARCH # Don't forget to update bbswitch.install
+pkgrel=17
+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.16' 'linux<3.17')
+makedepends=('linux-headers>=3.16' 'linux-headers<3.17')
+install=bbswitch.install
+source=("https://github.com/Bumblebee-Project/bbswitch/archive/v${pkgver}.tar.gz";)
+md5sums=('5b116b31ace3604ddf9d1fc1f4bc5807')
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+
+  _kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
+
+  make KDIR=/lib/modules/${_kernver}/build
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+   
+  install -Dm644 bbswitch.ko 
"${pkgdir}"/usr/lib/modules/${_extramodules}/bbswitch.ko
+  gzip "${pkgdir}/usr/lib/modules/${_extramodules}/bbswitch.ko"
  
+}

Copied: bbswitch/repos/community-testing-x86_64/bbswitch.install (from rev 
120208, bbswitch/trunk/bbswitch.install)
===
--- community-testing-x86_64/bbswitch.install   (rev 0)
+++ community-testing-x86_64/bbswitch.install   2014-10-06 06:48:31 UTC (rev 
120209)
@@ -0,0 +1,12 @@
+post_install() {
+EXTRAMODULES='extramodules-3.16-ARCH'
+depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+}
+
+post_upgrade() {
+post_install
+}
+
+post_remove() {
+post_install
+}


[arch-commits] Commit in bbswitch/repos (6 files)

2014-09-17 Thread Tobias Powalowski
Date: Wednesday, September 17, 2014 @ 22:39:12
  Author: tpowa
Revision: 119129

archrelease: copy trunk to community-testing-i686, community-testing-x86_64

Added:
  bbswitch/repos/community-testing-i686/
  bbswitch/repos/community-testing-i686/PKGBUILD
(from rev 119128, bbswitch/trunk/PKGBUILD)
  bbswitch/repos/community-testing-i686/bbswitch.install
(from rev 119128, bbswitch/trunk/bbswitch.install)
  bbswitch/repos/community-testing-x86_64/
  bbswitch/repos/community-testing-x86_64/PKGBUILD
(from rev 119128, bbswitch/trunk/PKGBUILD)
  bbswitch/repos/community-testing-x86_64/bbswitch.install
(from rev 119128, bbswitch/trunk/bbswitch.install)

---+
 community-testing-i686/PKGBUILD   |   33 
 community-testing-i686/bbswitch.install   |   12 ++
 community-testing-x86_64/PKGBUILD |   33 
 community-testing-x86_64/bbswitch.install |   12 ++
 4 files changed, 90 insertions(+)

Copied: bbswitch/repos/community-testing-i686/PKGBUILD (from rev 119128, 
bbswitch/trunk/PKGBUILD)
===
--- community-testing-i686/PKGBUILD (rev 0)
+++ community-testing-i686/PKGBUILD 2014-09-17 20:39:12 UTC (rev 119129)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: M0Rf30
+# Contributor: Samsagax 
+
+pkgname=bbswitch
+pkgver=0.8
+_extramodules=extramodules-3.16-ARCH # Don't forget to update bbswitch.install
+pkgrel=16
+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.16' 'linux<3.17')
+makedepends=('linux-headers>=3.16' 'linux-headers<3.17')
+install=bbswitch.install
+source=("https://github.com/Bumblebee-Project/bbswitch/archive/v${pkgver}.tar.gz";)
+md5sums=('5b116b31ace3604ddf9d1fc1f4bc5807')
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+
+  _kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
+
+  make KDIR=/lib/modules/${_kernver}/build
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+   
+  install -Dm644 bbswitch.ko 
"${pkgdir}"/usr/lib/modules/${_extramodules}/bbswitch.ko
+  gzip "${pkgdir}/usr/lib/modules/${_extramodules}/bbswitch.ko"
  
+}

Copied: bbswitch/repos/community-testing-i686/bbswitch.install (from rev 
119128, bbswitch/trunk/bbswitch.install)
===
--- community-testing-i686/bbswitch.install (rev 0)
+++ community-testing-i686/bbswitch.install 2014-09-17 20:39:12 UTC (rev 
119129)
@@ -0,0 +1,12 @@
+post_install() {
+EXTRAMODULES='extramodules-3.16-ARCH'
+depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+}
+
+post_upgrade() {
+post_install
+}
+
+post_remove() {
+post_install
+}

Copied: bbswitch/repos/community-testing-x86_64/PKGBUILD (from rev 119128, 
bbswitch/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2014-09-17 20:39:12 UTC (rev 119129)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: M0Rf30
+# Contributor: Samsagax 
+
+pkgname=bbswitch
+pkgver=0.8
+_extramodules=extramodules-3.16-ARCH # Don't forget to update bbswitch.install
+pkgrel=16
+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.16' 'linux<3.17')
+makedepends=('linux-headers>=3.16' 'linux-headers<3.17')
+install=bbswitch.install
+source=("https://github.com/Bumblebee-Project/bbswitch/archive/v${pkgver}.tar.gz";)
+md5sums=('5b116b31ace3604ddf9d1fc1f4bc5807')
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+
+  _kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
+
+  make KDIR=/lib/modules/${_kernver}/build
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+   
+  install -Dm644 bbswitch.ko 
"${pkgdir}"/usr/lib/modules/${_extramodules}/bbswitch.ko
+  gzip "${pkgdir}/usr/lib/modules/${_extramodules}/bbswitch.ko"
  
+}

Copied: bbswitch/repos/community-testing-x86_64/bbswitch.install (from rev 
119128, bbswitch/trunk/bbswitch.install)
===
--- community-testing-x86_64/bbswitch.install   (rev 0)
+++ community-testing-x86_64/bbswitch.install   2014-09-17 20:39:12 UTC (rev 
119129)
@@ -0,0 +1,12 @@
+post_install() {
+EXTRAMODULES='extramodules-3.16-ARCH'
+depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+}
+
+post_upgrade() {
+post_install
+}
+
+post_remove() {
+post_install
+}



[arch-commits] Commit in bbswitch/repos (6 files)

2014-08-04 Thread Tobias Powalowski
Date: Monday, August 4, 2014 @ 09:12:13
  Author: tpowa
Revision: 116822

archrelease: copy trunk to community-testing-i686, community-testing-x86_64

Added:
  bbswitch/repos/community-testing-i686/
  bbswitch/repos/community-testing-i686/PKGBUILD
(from rev 116821, bbswitch/trunk/PKGBUILD)
  bbswitch/repos/community-testing-i686/bbswitch.install
(from rev 116821, bbswitch/trunk/bbswitch.install)
  bbswitch/repos/community-testing-x86_64/
  bbswitch/repos/community-testing-x86_64/PKGBUILD
(from rev 116821, bbswitch/trunk/PKGBUILD)
  bbswitch/repos/community-testing-x86_64/bbswitch.install
(from rev 116821, bbswitch/trunk/bbswitch.install)

---+
 community-testing-i686/PKGBUILD   |   33 
 community-testing-i686/bbswitch.install   |   12 ++
 community-testing-x86_64/PKGBUILD |   33 
 community-testing-x86_64/bbswitch.install |   12 ++
 4 files changed, 90 insertions(+)

Copied: bbswitch/repos/community-testing-i686/PKGBUILD (from rev 116821, 
bbswitch/trunk/PKGBUILD)
===
--- community-testing-i686/PKGBUILD (rev 0)
+++ community-testing-i686/PKGBUILD 2014-08-04 07:12:13 UTC (rev 116822)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: M0Rf30
+# Contributor: Samsagax 
+
+pkgname=bbswitch
+pkgver=0.8
+_extramodules=extramodules-3.16-ARCH # Don't forget to update bbswitch.install
+pkgrel=15
+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.16' 'linux<3.17')
+makedepends=('linux-headers>=3.16' 'linux-headers<3.17')
+install=bbswitch.install
+source=("https://github.com/Bumblebee-Project/bbswitch/archive/v${pkgver}.tar.gz";)
+md5sums=('5b116b31ace3604ddf9d1fc1f4bc5807')
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+
+  _kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
+
+  make KDIR=/lib/modules/${_kernver}/build
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+   
+  install -Dm644 bbswitch.ko 
"${pkgdir}"/usr/lib/modules/${_extramodules}/bbswitch.ko
+  gzip "${pkgdir}/usr/lib/modules/${_extramodules}/bbswitch.ko"
  
+}

Copied: bbswitch/repos/community-testing-i686/bbswitch.install (from rev 
116821, bbswitch/trunk/bbswitch.install)
===
--- community-testing-i686/bbswitch.install (rev 0)
+++ community-testing-i686/bbswitch.install 2014-08-04 07:12:13 UTC (rev 
116822)
@@ -0,0 +1,12 @@
+post_install() {
+EXTRAMODULES='extramodules-3.16-ARCH'
+depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+}
+
+post_upgrade() {
+post_install
+}
+
+post_remove() {
+post_install
+}

Copied: bbswitch/repos/community-testing-x86_64/PKGBUILD (from rev 116821, 
bbswitch/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2014-08-04 07:12:13 UTC (rev 116822)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: M0Rf30
+# Contributor: Samsagax 
+
+pkgname=bbswitch
+pkgver=0.8
+_extramodules=extramodules-3.16-ARCH # Don't forget to update bbswitch.install
+pkgrel=15
+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.16' 'linux<3.17')
+makedepends=('linux-headers>=3.16' 'linux-headers<3.17')
+install=bbswitch.install
+source=("https://github.com/Bumblebee-Project/bbswitch/archive/v${pkgver}.tar.gz";)
+md5sums=('5b116b31ace3604ddf9d1fc1f4bc5807')
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+
+  _kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
+
+  make KDIR=/lib/modules/${_kernver}/build
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+   
+  install -Dm644 bbswitch.ko 
"${pkgdir}"/usr/lib/modules/${_extramodules}/bbswitch.ko
+  gzip "${pkgdir}/usr/lib/modules/${_extramodules}/bbswitch.ko"
  
+}

Copied: bbswitch/repos/community-testing-x86_64/bbswitch.install (from rev 
116821, bbswitch/trunk/bbswitch.install)
===
--- community-testing-x86_64/bbswitch.install   (rev 0)
+++ community-testing-x86_64/bbswitch.install   2014-08-04 07:12:13 UTC (rev 
116822)
@@ -0,0 +1,12 @@
+post_install() {
+EXTRAMODULES='extramodules-3.16-ARCH'
+depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+}
+
+post_upgrade() {
+post_install
+}
+
+post_remove() {
+post_install
+}



[arch-commits] Commit in bbswitch/repos (6 files)

2014-07-29 Thread Evangelos Foutras
Date: Tuesday, July 29, 2014 @ 12:08:46
  Author: foutrelis
Revision: 116529

archrelease: copy trunk to community-testing-i686, community-testing-x86_64

Added:
  bbswitch/repos/community-testing-i686/
  bbswitch/repos/community-testing-i686/PKGBUILD
(from rev 116528, bbswitch/trunk/PKGBUILD)
  bbswitch/repos/community-testing-i686/bbswitch.install
(from rev 116528, bbswitch/trunk/bbswitch.install)
  bbswitch/repos/community-testing-x86_64/
  bbswitch/repos/community-testing-x86_64/PKGBUILD
(from rev 116528, bbswitch/trunk/PKGBUILD)
  bbswitch/repos/community-testing-x86_64/bbswitch.install
(from rev 116528, bbswitch/trunk/bbswitch.install)

---+
 community-testing-i686/PKGBUILD   |   33 
 community-testing-i686/bbswitch.install   |   12 ++
 community-testing-x86_64/PKGBUILD |   33 
 community-testing-x86_64/bbswitch.install |   12 ++
 4 files changed, 90 insertions(+)

Copied: bbswitch/repos/community-testing-i686/PKGBUILD (from rev 116528, 
bbswitch/trunk/PKGBUILD)
===
--- community-testing-i686/PKGBUILD (rev 0)
+++ community-testing-i686/PKGBUILD 2014-07-29 10:08:46 UTC (rev 116529)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: M0Rf30
+# Contributor: Samsagax 
+
+pkgname=bbswitch
+pkgver=0.8
+_extramodules=extramodules-3.15-ARCH # Don't forget to update bbswitch.install
+pkgrel=14
+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.15' 'linux<3.16')
+makedepends=('linux-headers>=3.15' 'linux-headers<3.16')
+install=bbswitch.install
+source=("https://github.com/Bumblebee-Project/bbswitch/archive/v${pkgver}.tar.gz";)
+md5sums=('5b116b31ace3604ddf9d1fc1f4bc5807')
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+
+  _kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
+
+  make KDIR=/lib/modules/${_kernver}/build
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+   
+  install -Dm644 bbswitch.ko 
"${pkgdir}"/usr/lib/modules/${_extramodules}/bbswitch.ko
+  gzip "${pkgdir}/usr/lib/modules/${_extramodules}/bbswitch.ko"
  
+}

Copied: bbswitch/repos/community-testing-i686/bbswitch.install (from rev 
116528, bbswitch/trunk/bbswitch.install)
===
--- community-testing-i686/bbswitch.install (rev 0)
+++ community-testing-i686/bbswitch.install 2014-07-29 10:08:46 UTC (rev 
116529)
@@ -0,0 +1,12 @@
+post_install() {
+EXTRAMODULES='extramodules-3.15-ARCH'
+depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+}
+
+post_upgrade() {
+post_install
+}
+
+post_remove() {
+post_install
+}

Copied: bbswitch/repos/community-testing-x86_64/PKGBUILD (from rev 116528, 
bbswitch/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2014-07-29 10:08:46 UTC (rev 116529)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: M0Rf30
+# Contributor: Samsagax 
+
+pkgname=bbswitch
+pkgver=0.8
+_extramodules=extramodules-3.15-ARCH # Don't forget to update bbswitch.install
+pkgrel=14
+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.15' 'linux<3.16')
+makedepends=('linux-headers>=3.15' 'linux-headers<3.16')
+install=bbswitch.install
+source=("https://github.com/Bumblebee-Project/bbswitch/archive/v${pkgver}.tar.gz";)
+md5sums=('5b116b31ace3604ddf9d1fc1f4bc5807')
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+
+  _kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
+
+  make KDIR=/lib/modules/${_kernver}/build
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+   
+  install -Dm644 bbswitch.ko 
"${pkgdir}"/usr/lib/modules/${_extramodules}/bbswitch.ko
+  gzip "${pkgdir}/usr/lib/modules/${_extramodules}/bbswitch.ko"
  
+}

Copied: bbswitch/repos/community-testing-x86_64/bbswitch.install (from rev 
116528, bbswitch/trunk/bbswitch.install)
===
--- community-testing-x86_64/bbswitch.install   (rev 0)
+++ community-testing-x86_64/bbswitch.install   2014-07-29 10:08:46 UTC (rev 
116529)
@@ -0,0 +1,12 @@
+post_install() {
+EXTRAMODULES='extramodules-3.15-ARCH'
+depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+}
+
+post_upgrade() {
+post_install
+}
+
+post_remove() {
+post_install
+}



[arch-commits] Commit in bbswitch/repos (6 files)

2014-07-18 Thread Tobias Powalowski
Date: Friday, July 18, 2014 @ 13:31:19
  Author: tpowa
Revision: 115908

archrelease: copy trunk to community-testing-i686, community-testing-x86_64

Added:
  bbswitch/repos/community-testing-i686/
  bbswitch/repos/community-testing-i686/PKGBUILD
(from rev 115907, bbswitch/trunk/PKGBUILD)
  bbswitch/repos/community-testing-i686/bbswitch.install
(from rev 115907, bbswitch/trunk/bbswitch.install)
  bbswitch/repos/community-testing-x86_64/
  bbswitch/repos/community-testing-x86_64/PKGBUILD
(from rev 115907, bbswitch/trunk/PKGBUILD)
  bbswitch/repos/community-testing-x86_64/bbswitch.install
(from rev 115907, bbswitch/trunk/bbswitch.install)

---+
 community-testing-i686/PKGBUILD   |   33 
 community-testing-i686/bbswitch.install   |   12 ++
 community-testing-x86_64/PKGBUILD |   33 
 community-testing-x86_64/bbswitch.install |   12 ++
 4 files changed, 90 insertions(+)

Copied: bbswitch/repos/community-testing-i686/PKGBUILD (from rev 115907, 
bbswitch/trunk/PKGBUILD)
===
--- community-testing-i686/PKGBUILD (rev 0)
+++ community-testing-i686/PKGBUILD 2014-07-18 11:31:19 UTC (rev 115908)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: M0Rf30
+# Contributor: Samsagax 
+
+pkgname=bbswitch
+pkgver=0.8
+_extramodules=extramodules-3.15-ARCH # Don't forget to update bbswitch.install
+pkgrel=13
+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.15' 'linux<3.16')
+makedepends=('linux-headers>=3.15' 'linux-headers<3.16')
+install=bbswitch.install
+source=("https://github.com/Bumblebee-Project/bbswitch/archive/v${pkgver}.tar.gz";)
+md5sums=('5b116b31ace3604ddf9d1fc1f4bc5807')
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+
+  _kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
+
+  make KDIR=/lib/modules/${_kernver}/build
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+   
+  install -Dm644 bbswitch.ko 
"${pkgdir}"/usr/lib/modules/${_extramodules}/bbswitch.ko
+  gzip "${pkgdir}/usr/lib/modules/${_extramodules}/bbswitch.ko"
  
+}

Copied: bbswitch/repos/community-testing-i686/bbswitch.install (from rev 
115907, bbswitch/trunk/bbswitch.install)
===
--- community-testing-i686/bbswitch.install (rev 0)
+++ community-testing-i686/bbswitch.install 2014-07-18 11:31:19 UTC (rev 
115908)
@@ -0,0 +1,12 @@
+post_install() {
+EXTRAMODULES='extramodules-3.15-ARCH'
+depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+}
+
+post_upgrade() {
+post_install
+}
+
+post_remove() {
+post_install
+}

Copied: bbswitch/repos/community-testing-x86_64/PKGBUILD (from rev 115907, 
bbswitch/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2014-07-18 11:31:19 UTC (rev 115908)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: M0Rf30
+# Contributor: Samsagax 
+
+pkgname=bbswitch
+pkgver=0.8
+_extramodules=extramodules-3.15-ARCH # Don't forget to update bbswitch.install
+pkgrel=13
+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.15' 'linux<3.16')
+makedepends=('linux-headers>=3.15' 'linux-headers<3.16')
+install=bbswitch.install
+source=("https://github.com/Bumblebee-Project/bbswitch/archive/v${pkgver}.tar.gz";)
+md5sums=('5b116b31ace3604ddf9d1fc1f4bc5807')
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+
+  _kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
+
+  make KDIR=/lib/modules/${_kernver}/build
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+   
+  install -Dm644 bbswitch.ko 
"${pkgdir}"/usr/lib/modules/${_extramodules}/bbswitch.ko
+  gzip "${pkgdir}/usr/lib/modules/${_extramodules}/bbswitch.ko"
  
+}

Copied: bbswitch/repos/community-testing-x86_64/bbswitch.install (from rev 
115907, bbswitch/trunk/bbswitch.install)
===
--- community-testing-x86_64/bbswitch.install   (rev 0)
+++ community-testing-x86_64/bbswitch.install   2014-07-18 11:31:19 UTC (rev 
115908)
@@ -0,0 +1,12 @@
+post_install() {
+EXTRAMODULES='extramodules-3.15-ARCH'
+depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+}
+
+post_upgrade() {
+post_install
+}
+
+post_remove() {
+post_install
+}



[arch-commits] Commit in bbswitch/repos (6 files)

2014-06-30 Thread Tobias Powalowski
Date: Tuesday, July 1, 2014 @ 08:40:19
  Author: tpowa
Revision: 113838

archrelease: copy trunk to community-testing-i686, community-testing-x86_64

Added:
  bbswitch/repos/community-testing-i686/
  bbswitch/repos/community-testing-i686/PKGBUILD
(from rev 113837, bbswitch/trunk/PKGBUILD)
  bbswitch/repos/community-testing-i686/bbswitch.install
(from rev 113837, bbswitch/trunk/bbswitch.install)
  bbswitch/repos/community-testing-x86_64/
  bbswitch/repos/community-testing-x86_64/PKGBUILD
(from rev 113837, bbswitch/trunk/PKGBUILD)
  bbswitch/repos/community-testing-x86_64/bbswitch.install
(from rev 113837, bbswitch/trunk/bbswitch.install)

---+
 community-testing-i686/PKGBUILD   |   33 
 community-testing-i686/bbswitch.install   |   12 ++
 community-testing-x86_64/PKGBUILD |   33 
 community-testing-x86_64/bbswitch.install |   12 ++
 4 files changed, 90 insertions(+)

Copied: bbswitch/repos/community-testing-i686/PKGBUILD (from rev 113837, 
bbswitch/trunk/PKGBUILD)
===
--- community-testing-i686/PKGBUILD (rev 0)
+++ community-testing-i686/PKGBUILD 2014-07-01 06:40:19 UTC (rev 113838)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: M0Rf30
+# Contributor: Samsagax 
+
+pkgname=bbswitch
+pkgver=0.8
+_extramodules=extramodules-3.15-ARCH # Don't forget to update bbswitch.install
+pkgrel=12
+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.15' 'linux<3.16')
+makedepends=('linux-headers>=3.15' 'linux-headers<3.16')
+install=bbswitch.install
+source=("https://github.com/Bumblebee-Project/bbswitch/archive/v${pkgver}.tar.gz";)
+md5sums=('5b116b31ace3604ddf9d1fc1f4bc5807')
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+
+  _kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
+
+  make KDIR=/lib/modules/${_kernver}/build
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+   
+  install -Dm644 bbswitch.ko 
"${pkgdir}"/usr/lib/modules/${_extramodules}/bbswitch.ko
+  gzip "${pkgdir}/usr/lib/modules/${_extramodules}/bbswitch.ko"
  
+}

Copied: bbswitch/repos/community-testing-i686/bbswitch.install (from rev 
113837, bbswitch/trunk/bbswitch.install)
===
--- community-testing-i686/bbswitch.install (rev 0)
+++ community-testing-i686/bbswitch.install 2014-07-01 06:40:19 UTC (rev 
113838)
@@ -0,0 +1,12 @@
+post_install() {
+EXTRAMODULES='extramodules-3.15-ARCH'
+depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+}
+
+post_upgrade() {
+post_install
+}
+
+post_remove() {
+post_install
+}

Copied: bbswitch/repos/community-testing-x86_64/PKGBUILD (from rev 113837, 
bbswitch/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2014-07-01 06:40:19 UTC (rev 113838)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: M0Rf30
+# Contributor: Samsagax 
+
+pkgname=bbswitch
+pkgver=0.8
+_extramodules=extramodules-3.15-ARCH # Don't forget to update bbswitch.install
+pkgrel=12
+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.15' 'linux<3.16')
+makedepends=('linux-headers>=3.15' 'linux-headers<3.16')
+install=bbswitch.install
+source=("https://github.com/Bumblebee-Project/bbswitch/archive/v${pkgver}.tar.gz";)
+md5sums=('5b116b31ace3604ddf9d1fc1f4bc5807')
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+
+  _kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
+
+  make KDIR=/lib/modules/${_kernver}/build
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+   
+  install -Dm644 bbswitch.ko 
"${pkgdir}"/usr/lib/modules/${_extramodules}/bbswitch.ko
+  gzip "${pkgdir}/usr/lib/modules/${_extramodules}/bbswitch.ko"
  
+}

Copied: bbswitch/repos/community-testing-x86_64/bbswitch.install (from rev 
113837, bbswitch/trunk/bbswitch.install)
===
--- community-testing-x86_64/bbswitch.install   (rev 0)
+++ community-testing-x86_64/bbswitch.install   2014-07-01 06:40:19 UTC (rev 
113838)
@@ -0,0 +1,12 @@
+post_install() {
+EXTRAMODULES='extramodules-3.15-ARCH'
+depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+}
+
+post_upgrade() {
+post_install
+}
+
+post_remove() {
+post_install
+}



[arch-commits] Commit in bbswitch/repos (6 files)

2014-06-09 Thread Evangelos Foutras
Date: Monday, June 9, 2014 @ 14:13:59
  Author: foutrelis
Revision: 112889

archrelease: copy trunk to community-testing-i686, community-testing-x86_64

Added:
  bbswitch/repos/community-testing-i686/
  bbswitch/repos/community-testing-i686/PKGBUILD
(from rev 112888, bbswitch/trunk/PKGBUILD)
  bbswitch/repos/community-testing-i686/bbswitch.install
(from rev 112888, bbswitch/trunk/bbswitch.install)
  bbswitch/repos/community-testing-x86_64/
  bbswitch/repos/community-testing-x86_64/PKGBUILD
(from rev 112888, bbswitch/trunk/PKGBUILD)
  bbswitch/repos/community-testing-x86_64/bbswitch.install
(from rev 112888, bbswitch/trunk/bbswitch.install)

---+
 community-testing-i686/PKGBUILD   |   33 
 community-testing-i686/bbswitch.install   |   12 ++
 community-testing-x86_64/PKGBUILD |   33 
 community-testing-x86_64/bbswitch.install |   12 ++
 4 files changed, 90 insertions(+)

Copied: bbswitch/repos/community-testing-i686/PKGBUILD (from rev 112888, 
bbswitch/trunk/PKGBUILD)
===
--- community-testing-i686/PKGBUILD (rev 0)
+++ community-testing-i686/PKGBUILD 2014-06-09 12:13:59 UTC (rev 112889)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: M0Rf30
+# Contributor: Samsagax 
+
+pkgname=bbswitch
+pkgver=0.8
+_extramodules=extramodules-3.15-ARCH # Don't forget to update bbswitch.install
+pkgrel=10
+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.15' 'linux<3.16')
+makedepends=('linux-headers>=3.15' 'linux-headers<3.16')
+install=bbswitch.install
+source=("https://github.com/Bumblebee-Project/bbswitch/archive/v${pkgver}.tar.gz";)
+md5sums=('5b116b31ace3604ddf9d1fc1f4bc5807')
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+
+  _kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
+
+  make KDIR=/lib/modules/${_kernver}/build
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+   
+  install -Dm644 bbswitch.ko 
"${pkgdir}"/usr/lib/modules/${_extramodules}/bbswitch.ko
+  gzip "${pkgdir}/usr/lib/modules/${_extramodules}/bbswitch.ko"
  
+}

Copied: bbswitch/repos/community-testing-i686/bbswitch.install (from rev 
112888, bbswitch/trunk/bbswitch.install)
===
--- community-testing-i686/bbswitch.install (rev 0)
+++ community-testing-i686/bbswitch.install 2014-06-09 12:13:59 UTC (rev 
112889)
@@ -0,0 +1,12 @@
+post_install() {
+EXTRAMODULES='extramodules-3.15-ARCH'
+depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+}
+
+post_upgrade() {
+post_install
+}
+
+post_remove() {
+post_install
+}

Copied: bbswitch/repos/community-testing-x86_64/PKGBUILD (from rev 112888, 
bbswitch/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2014-06-09 12:13:59 UTC (rev 112889)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: M0Rf30
+# Contributor: Samsagax 
+
+pkgname=bbswitch
+pkgver=0.8
+_extramodules=extramodules-3.15-ARCH # Don't forget to update bbswitch.install
+pkgrel=10
+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.15' 'linux<3.16')
+makedepends=('linux-headers>=3.15' 'linux-headers<3.16')
+install=bbswitch.install
+source=("https://github.com/Bumblebee-Project/bbswitch/archive/v${pkgver}.tar.gz";)
+md5sums=('5b116b31ace3604ddf9d1fc1f4bc5807')
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+
+  _kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
+
+  make KDIR=/lib/modules/${_kernver}/build
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+   
+  install -Dm644 bbswitch.ko 
"${pkgdir}"/usr/lib/modules/${_extramodules}/bbswitch.ko
+  gzip "${pkgdir}/usr/lib/modules/${_extramodules}/bbswitch.ko"
  
+}

Copied: bbswitch/repos/community-testing-x86_64/bbswitch.install (from rev 
112888, bbswitch/trunk/bbswitch.install)
===
--- community-testing-x86_64/bbswitch.install   (rev 0)
+++ community-testing-x86_64/bbswitch.install   2014-06-09 12:13:59 UTC (rev 
112889)
@@ -0,0 +1,12 @@
+post_install() {
+EXTRAMODULES='extramodules-3.15-ARCH'
+depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+}
+
+post_upgrade() {
+post_install
+}
+
+post_remove() {
+post_install
+}



[arch-commits] Commit in bbswitch/repos (6 files)

2014-06-02 Thread Evangelos Foutras
Date: Monday, June 2, 2014 @ 21:16:28
  Author: foutrelis
Revision: 112485

archrelease: copy trunk to community-testing-i686, community-testing-x86_64

Added:
  bbswitch/repos/community-testing-i686/
  bbswitch/repos/community-testing-i686/PKGBUILD
(from rev 112484, bbswitch/trunk/PKGBUILD)
  bbswitch/repos/community-testing-i686/bbswitch.install
(from rev 112484, bbswitch/trunk/bbswitch.install)
  bbswitch/repos/community-testing-x86_64/
  bbswitch/repos/community-testing-x86_64/PKGBUILD
(from rev 112484, bbswitch/trunk/PKGBUILD)
  bbswitch/repos/community-testing-x86_64/bbswitch.install
(from rev 112484, bbswitch/trunk/bbswitch.install)

---+
 community-testing-i686/PKGBUILD   |   33 
 community-testing-i686/bbswitch.install   |   12 ++
 community-testing-x86_64/PKGBUILD |   33 
 community-testing-x86_64/bbswitch.install |   12 ++
 4 files changed, 90 insertions(+)

Copied: bbswitch/repos/community-testing-i686/PKGBUILD (from rev 112484, 
bbswitch/trunk/PKGBUILD)
===
--- community-testing-i686/PKGBUILD (rev 0)
+++ community-testing-i686/PKGBUILD 2014-06-02 19:16:28 UTC (rev 112485)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: M0Rf30
+# Contributor: Samsagax 
+
+pkgname=bbswitch
+pkgver=0.8
+_extramodules=extramodules-3.14-ARCH # Don't forget to update bbswitch.install
+pkgrel=8
+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.14' 'linux<3.15')
+makedepends=('linux-headers>=3.14' 'linux-headers<3.15')
+install=bbswitch.install
+source=("https://github.com/Bumblebee-Project/bbswitch/archive/v${pkgver}.tar.gz";)
+md5sums=('5b116b31ace3604ddf9d1fc1f4bc5807')
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+
+  _kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
+
+  make KDIR=/lib/modules/${_kernver}/build
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+   
+  install -Dm644 bbswitch.ko 
"${pkgdir}"/usr/lib/modules/${_extramodules}/bbswitch.ko
+  gzip "${pkgdir}/usr/lib/modules/${_extramodules}/bbswitch.ko"
  
+}

Copied: bbswitch/repos/community-testing-i686/bbswitch.install (from rev 
112484, bbswitch/trunk/bbswitch.install)
===
--- community-testing-i686/bbswitch.install (rev 0)
+++ community-testing-i686/bbswitch.install 2014-06-02 19:16:28 UTC (rev 
112485)
@@ -0,0 +1,12 @@
+post_install() {
+EXTRAMODULES='extramodules-3.14-ARCH'
+depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+}
+
+post_upgrade() {
+post_install
+}
+
+post_remove() {
+post_install
+}

Copied: bbswitch/repos/community-testing-x86_64/PKGBUILD (from rev 112484, 
bbswitch/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2014-06-02 19:16:28 UTC (rev 112485)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: M0Rf30
+# Contributor: Samsagax 
+
+pkgname=bbswitch
+pkgver=0.8
+_extramodules=extramodules-3.14-ARCH # Don't forget to update bbswitch.install
+pkgrel=8
+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.14' 'linux<3.15')
+makedepends=('linux-headers>=3.14' 'linux-headers<3.15')
+install=bbswitch.install
+source=("https://github.com/Bumblebee-Project/bbswitch/archive/v${pkgver}.tar.gz";)
+md5sums=('5b116b31ace3604ddf9d1fc1f4bc5807')
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+
+  _kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
+
+  make KDIR=/lib/modules/${_kernver}/build
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+   
+  install -Dm644 bbswitch.ko 
"${pkgdir}"/usr/lib/modules/${_extramodules}/bbswitch.ko
+  gzip "${pkgdir}/usr/lib/modules/${_extramodules}/bbswitch.ko"
  
+}

Copied: bbswitch/repos/community-testing-x86_64/bbswitch.install (from rev 
112484, bbswitch/trunk/bbswitch.install)
===
--- community-testing-x86_64/bbswitch.install   (rev 0)
+++ community-testing-x86_64/bbswitch.install   2014-06-02 19:16:28 UTC (rev 
112485)
@@ -0,0 +1,12 @@
+post_install() {
+EXTRAMODULES='extramodules-3.14-ARCH'
+depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+}
+
+post_upgrade() {
+post_install
+}
+
+post_remove() {
+post_install
+}



[arch-commits] Commit in bbswitch/repos (6 files)

2014-04-01 Thread Thomas Bächler
Date: Wednesday, April 2, 2014 @ 00:26:52
  Author: thomas
Revision: 108709

archrelease: copy trunk to community-testing-i686, community-testing-x86_64

Added:
  bbswitch/repos/community-testing-i686/
  bbswitch/repos/community-testing-i686/PKGBUILD
(from rev 108708, bbswitch/trunk/PKGBUILD)
  bbswitch/repos/community-testing-i686/bbswitch.install
(from rev 108708, bbswitch/trunk/bbswitch.install)
  bbswitch/repos/community-testing-x86_64/
  bbswitch/repos/community-testing-x86_64/PKGBUILD
(from rev 108708, bbswitch/trunk/PKGBUILD)
  bbswitch/repos/community-testing-x86_64/bbswitch.install
(from rev 108708, bbswitch/trunk/bbswitch.install)

---+
 community-testing-i686/PKGBUILD   |   33 
 community-testing-i686/bbswitch.install   |   12 ++
 community-testing-x86_64/PKGBUILD |   33 
 community-testing-x86_64/bbswitch.install |   12 ++
 4 files changed, 90 insertions(+)

Copied: bbswitch/repos/community-testing-i686/PKGBUILD (from rev 108708, 
bbswitch/trunk/PKGBUILD)
===
--- community-testing-i686/PKGBUILD (rev 0)
+++ community-testing-i686/PKGBUILD 2014-04-01 22:26:52 UTC (rev 108709)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: M0Rf30
+# Contributor: Samsagax 
+
+pkgname=bbswitch
+pkgver=0.8
+_extramodules=extramodules-3.14-ARCH # Don't forget to update bbswitch.install
+pkgrel=7
+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.14' 'linux<3.15')
+makedepends=('linux-headers>=3.14' 'linux-headers<3.15')
+install=bbswitch.install
+source=("https://github.com/Bumblebee-Project/bbswitch/archive/v${pkgver}.tar.gz";)
+md5sums=('5b116b31ace3604ddf9d1fc1f4bc5807')
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+
+  _kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
+
+  make KDIR=/lib/modules/${_kernver}/build
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+   
+  install -Dm644 bbswitch.ko 
"${pkgdir}"/usr/lib/modules/${_extramodules}/bbswitch.ko
+  gzip "${pkgdir}/usr/lib/modules/${_extramodules}/bbswitch.ko"
  
+}

Copied: bbswitch/repos/community-testing-i686/bbswitch.install (from rev 
108708, bbswitch/trunk/bbswitch.install)
===
--- community-testing-i686/bbswitch.install (rev 0)
+++ community-testing-i686/bbswitch.install 2014-04-01 22:26:52 UTC (rev 
108709)
@@ -0,0 +1,12 @@
+post_install() {
+EXTRAMODULES='extramodules-3.14-ARCH'
+depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+}
+
+post_upgrade() {
+post_install
+}
+
+post_remove() {
+post_install
+}

Copied: bbswitch/repos/community-testing-x86_64/PKGBUILD (from rev 108708, 
bbswitch/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2014-04-01 22:26:52 UTC (rev 108709)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: M0Rf30
+# Contributor: Samsagax 
+
+pkgname=bbswitch
+pkgver=0.8
+_extramodules=extramodules-3.14-ARCH # Don't forget to update bbswitch.install
+pkgrel=7
+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.14' 'linux<3.15')
+makedepends=('linux-headers>=3.14' 'linux-headers<3.15')
+install=bbswitch.install
+source=("https://github.com/Bumblebee-Project/bbswitch/archive/v${pkgver}.tar.gz";)
+md5sums=('5b116b31ace3604ddf9d1fc1f4bc5807')
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+
+  _kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
+
+  make KDIR=/lib/modules/${_kernver}/build
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+   
+  install -Dm644 bbswitch.ko 
"${pkgdir}"/usr/lib/modules/${_extramodules}/bbswitch.ko
+  gzip "${pkgdir}/usr/lib/modules/${_extramodules}/bbswitch.ko"
  
+}

Copied: bbswitch/repos/community-testing-x86_64/bbswitch.install (from rev 
108708, bbswitch/trunk/bbswitch.install)
===
--- community-testing-x86_64/bbswitch.install   (rev 0)
+++ community-testing-x86_64/bbswitch.install   2014-04-01 22:26:52 UTC (rev 
108709)
@@ -0,0 +1,12 @@
+post_install() {
+EXTRAMODULES='extramodules-3.14-ARCH'
+depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+}
+
+post_upgrade() {
+post_install
+}
+
+post_remove() {
+post_install
+}



[arch-commits] Commit in bbswitch/repos (6 files)

2014-01-26 Thread Thomas Bächler
Date: Sunday, January 26, 2014 @ 13:32:52
  Author: thomas
Revision: 104806

archrelease: copy trunk to community-testing-i686, community-testing-x86_64

Added:
  bbswitch/repos/community-testing-i686/
  bbswitch/repos/community-testing-i686/PKGBUILD
(from rev 104805, bbswitch/trunk/PKGBUILD)
  bbswitch/repos/community-testing-i686/bbswitch.install
(from rev 104805, bbswitch/trunk/bbswitch.install)
  bbswitch/repos/community-testing-x86_64/
  bbswitch/repos/community-testing-x86_64/PKGBUILD
(from rev 104805, bbswitch/trunk/PKGBUILD)
  bbswitch/repos/community-testing-x86_64/bbswitch.install
(from rev 104805, bbswitch/trunk/bbswitch.install)

---+
 community-testing-i686/PKGBUILD   |   33 
 community-testing-i686/bbswitch.install   |   12 ++
 community-testing-x86_64/PKGBUILD |   33 
 community-testing-x86_64/bbswitch.install |   12 ++
 4 files changed, 90 insertions(+)

Copied: bbswitch/repos/community-testing-i686/PKGBUILD (from rev 104805, 
bbswitch/trunk/PKGBUILD)
===
--- community-testing-i686/PKGBUILD (rev 0)
+++ community-testing-i686/PKGBUILD 2014-01-26 12:32:52 UTC (rev 104806)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: M0Rf30
+# Contributor: Samsagax 
+
+pkgname=bbswitch
+pkgver=0.8
+_extramodules=extramodules-3.13-ARCH # Don't forget to update bbswitch.install
+pkgrel=6
+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.13' 'linux<3.14')
+makedepends=('linux-headers>=3.13' 'linux-headers<3.14')
+install=bbswitch.install
+source=("https://github.com/Bumblebee-Project/bbswitch/archive/v${pkgver}.tar.gz";)
+md5sums=('5b116b31ace3604ddf9d1fc1f4bc5807')
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+
+  _kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
+
+  make KDIR=/lib/modules/${_kernver}/build
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+   
+  install -Dm644 bbswitch.ko 
"${pkgdir}"/usr/lib/modules/${_extramodules}/bbswitch.ko
+  gzip "${pkgdir}/usr/lib/modules/${_extramodules}/bbswitch.ko"
  
+}

Copied: bbswitch/repos/community-testing-i686/bbswitch.install (from rev 
104805, bbswitch/trunk/bbswitch.install)
===
--- community-testing-i686/bbswitch.install (rev 0)
+++ community-testing-i686/bbswitch.install 2014-01-26 12:32:52 UTC (rev 
104806)
@@ -0,0 +1,12 @@
+post_install() {
+EXTRAMODULES='extramodules-3.13-ARCH'
+depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+}
+
+post_upgrade() {
+post_install
+}
+
+post_remove() {
+post_install
+}

Copied: bbswitch/repos/community-testing-x86_64/PKGBUILD (from rev 104805, 
bbswitch/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2014-01-26 12:32:52 UTC (rev 104806)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: M0Rf30
+# Contributor: Samsagax 
+
+pkgname=bbswitch
+pkgver=0.8
+_extramodules=extramodules-3.13-ARCH # Don't forget to update bbswitch.install
+pkgrel=6
+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.13' 'linux<3.14')
+makedepends=('linux-headers>=3.13' 'linux-headers<3.14')
+install=bbswitch.install
+source=("https://github.com/Bumblebee-Project/bbswitch/archive/v${pkgver}.tar.gz";)
+md5sums=('5b116b31ace3604ddf9d1fc1f4bc5807')
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+
+  _kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
+
+  make KDIR=/lib/modules/${_kernver}/build
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+   
+  install -Dm644 bbswitch.ko 
"${pkgdir}"/usr/lib/modules/${_extramodules}/bbswitch.ko
+  gzip "${pkgdir}/usr/lib/modules/${_extramodules}/bbswitch.ko"
  
+}

Copied: bbswitch/repos/community-testing-x86_64/bbswitch.install (from rev 
104805, bbswitch/trunk/bbswitch.install)
===
--- community-testing-x86_64/bbswitch.install   (rev 0)
+++ community-testing-x86_64/bbswitch.install   2014-01-26 12:32:52 UTC (rev 
104806)
@@ -0,0 +1,12 @@
+post_install() {
+EXTRAMODULES='extramodules-3.13-ARCH'
+depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+}
+
+post_upgrade() {
+post_install
+}
+
+post_remove() {
+post_install
+}



[arch-commits] Commit in bbswitch/repos (6 files)

2014-01-19 Thread Tobias Powalowski
Date: Sunday, January 19, 2014 @ 21:27:20
  Author: tpowa
Revision: 104386

archrelease: copy trunk to community-testing-i686, community-testing-x86_64

Added:
  bbswitch/repos/community-testing-i686/
  bbswitch/repos/community-testing-i686/PKGBUILD
(from rev 104385, bbswitch/trunk/PKGBUILD)
  bbswitch/repos/community-testing-i686/bbswitch.install
(from rev 104385, bbswitch/trunk/bbswitch.install)
  bbswitch/repos/community-testing-x86_64/
  bbswitch/repos/community-testing-x86_64/PKGBUILD
(from rev 104385, bbswitch/trunk/PKGBUILD)
  bbswitch/repos/community-testing-x86_64/bbswitch.install
(from rev 104385, bbswitch/trunk/bbswitch.install)

---+
 community-testing-i686/PKGBUILD   |   33 
 community-testing-i686/bbswitch.install   |   12 ++
 community-testing-x86_64/PKGBUILD |   33 
 community-testing-x86_64/bbswitch.install |   12 ++
 4 files changed, 90 insertions(+)

Copied: bbswitch/repos/community-testing-i686/PKGBUILD (from rev 104385, 
bbswitch/trunk/PKGBUILD)
===
--- community-testing-i686/PKGBUILD (rev 0)
+++ community-testing-i686/PKGBUILD 2014-01-19 20:27:20 UTC (rev 104386)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: M0Rf30
+# Contributor: Samsagax 
+
+pkgname=bbswitch
+pkgver=0.8
+_extramodules=extramodules-3.12-ARCH # Don't forget to update bbswitch.install
+pkgrel=5
+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.12' 'linux<3.13')
+makedepends=('linux-headers>=3.12' 'linux-headers<3.13')
+install=bbswitch.install
+source=("https://github.com/Bumblebee-Project/bbswitch/archive/v${pkgver}.tar.gz";)
+md5sums=('5b116b31ace3604ddf9d1fc1f4bc5807')
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+
+  _kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
+
+  make KDIR=/usr/src/linux-${_kernver}
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+   
+  install -Dm644 bbswitch.ko 
"${pkgdir}"/usr/lib/modules/${_extramodules}/bbswitch.ko
+  gzip "${pkgdir}/usr/lib/modules/${_extramodules}/bbswitch.ko"
  
+}

Copied: bbswitch/repos/community-testing-i686/bbswitch.install (from rev 
104385, bbswitch/trunk/bbswitch.install)
===
--- community-testing-i686/bbswitch.install (rev 0)
+++ community-testing-i686/bbswitch.install 2014-01-19 20:27:20 UTC (rev 
104386)
@@ -0,0 +1,12 @@
+post_install() {
+EXTRAMODULES='extramodules-3.12-ARCH'
+depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+}
+
+post_upgrade() {
+post_install
+}
+
+post_remove() {
+post_install
+}

Copied: bbswitch/repos/community-testing-x86_64/PKGBUILD (from rev 104385, 
bbswitch/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2014-01-19 20:27:20 UTC (rev 104386)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: M0Rf30
+# Contributor: Samsagax 
+
+pkgname=bbswitch
+pkgver=0.8
+_extramodules=extramodules-3.12-ARCH # Don't forget to update bbswitch.install
+pkgrel=5
+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.12' 'linux<3.13')
+makedepends=('linux-headers>=3.12' 'linux-headers<3.13')
+install=bbswitch.install
+source=("https://github.com/Bumblebee-Project/bbswitch/archive/v${pkgver}.tar.gz";)
+md5sums=('5b116b31ace3604ddf9d1fc1f4bc5807')
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+
+  _kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
+
+  make KDIR=/usr/src/linux-${_kernver}
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+   
+  install -Dm644 bbswitch.ko 
"${pkgdir}"/usr/lib/modules/${_extramodules}/bbswitch.ko
+  gzip "${pkgdir}/usr/lib/modules/${_extramodules}/bbswitch.ko"
  
+}

Copied: bbswitch/repos/community-testing-x86_64/bbswitch.install (from rev 
104385, bbswitch/trunk/bbswitch.install)
===
--- community-testing-x86_64/bbswitch.install   (rev 0)
+++ community-testing-x86_64/bbswitch.install   2014-01-19 20:27:20 UTC (rev 
104386)
@@ -0,0 +1,12 @@
+post_install() {
+EXTRAMODULES='extramodules-3.12-ARCH'
+depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+}
+
+post_upgrade() {
+post_install
+}
+
+post_remove() {
+post_install
+}



[arch-commits] Commit in bbswitch/repos (6 files)

2014-01-10 Thread Tobias Powalowski
Date: Friday, January 10, 2014 @ 13:52:02
  Author: tpowa
Revision: 103711

archrelease: copy trunk to community-testing-i686, community-testing-x86_64

Added:
  bbswitch/repos/community-testing-i686/
  bbswitch/repos/community-testing-i686/PKGBUILD
(from rev 103710, bbswitch/trunk/PKGBUILD)
  bbswitch/repos/community-testing-i686/bbswitch.install
(from rev 103710, bbswitch/trunk/bbswitch.install)
  bbswitch/repos/community-testing-x86_64/
  bbswitch/repos/community-testing-x86_64/PKGBUILD
(from rev 103710, bbswitch/trunk/PKGBUILD)
  bbswitch/repos/community-testing-x86_64/bbswitch.install
(from rev 103710, bbswitch/trunk/bbswitch.install)

---+
 community-testing-i686/PKGBUILD   |   33 
 community-testing-i686/bbswitch.install   |   12 ++
 community-testing-x86_64/PKGBUILD |   33 
 community-testing-x86_64/bbswitch.install |   12 ++
 4 files changed, 90 insertions(+)

Copied: bbswitch/repos/community-testing-i686/PKGBUILD (from rev 103710, 
bbswitch/trunk/PKGBUILD)
===
--- community-testing-i686/PKGBUILD (rev 0)
+++ community-testing-i686/PKGBUILD 2014-01-10 12:52:02 UTC (rev 103711)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: M0Rf30
+# Contributor: Samsagax 
+
+pkgname=bbswitch
+pkgver=0.8
+_extramodules=extramodules-3.12-ARCH # Don't forget to update bbswitch.install
+pkgrel=4
+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.12' 'linux<3.13')
+makedepends=('linux-headers>=3.12' 'linux-headers<3.13')
+install=bbswitch.install
+source=("https://github.com/Bumblebee-Project/bbswitch/archive/v${pkgver}.tar.gz";)
+md5sums=('5b116b31ace3604ddf9d1fc1f4bc5807')
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+
+  _kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
+
+  make KDIR=/usr/src/linux-${_kernver}
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+   
+  install -Dm644 bbswitch.ko 
"${pkgdir}"/usr/lib/modules/${_extramodules}/bbswitch.ko
+  gzip "${pkgdir}/usr/lib/modules/${_extramodules}/bbswitch.ko"
  
+}

Copied: bbswitch/repos/community-testing-i686/bbswitch.install (from rev 
103710, bbswitch/trunk/bbswitch.install)
===
--- community-testing-i686/bbswitch.install (rev 0)
+++ community-testing-i686/bbswitch.install 2014-01-10 12:52:02 UTC (rev 
103711)
@@ -0,0 +1,12 @@
+post_install() {
+EXTRAMODULES='extramodules-3.12-ARCH'
+depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+}
+
+post_upgrade() {
+post_install
+}
+
+post_remove() {
+post_install
+}

Copied: bbswitch/repos/community-testing-x86_64/PKGBUILD (from rev 103710, 
bbswitch/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2014-01-10 12:52:02 UTC (rev 103711)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: M0Rf30
+# Contributor: Samsagax 
+
+pkgname=bbswitch
+pkgver=0.8
+_extramodules=extramodules-3.12-ARCH # Don't forget to update bbswitch.install
+pkgrel=4
+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.12' 'linux<3.13')
+makedepends=('linux-headers>=3.12' 'linux-headers<3.13')
+install=bbswitch.install
+source=("https://github.com/Bumblebee-Project/bbswitch/archive/v${pkgver}.tar.gz";)
+md5sums=('5b116b31ace3604ddf9d1fc1f4bc5807')
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+
+  _kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
+
+  make KDIR=/usr/src/linux-${_kernver}
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+   
+  install -Dm644 bbswitch.ko 
"${pkgdir}"/usr/lib/modules/${_extramodules}/bbswitch.ko
+  gzip "${pkgdir}/usr/lib/modules/${_extramodules}/bbswitch.ko"
  
+}

Copied: bbswitch/repos/community-testing-x86_64/bbswitch.install (from rev 
103710, bbswitch/trunk/bbswitch.install)
===
--- community-testing-x86_64/bbswitch.install   (rev 0)
+++ community-testing-x86_64/bbswitch.install   2014-01-10 12:52:02 UTC (rev 
103711)
@@ -0,0 +1,12 @@
+post_install() {
+EXTRAMODULES='extramodules-3.12-ARCH'
+depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+}
+
+post_upgrade() {
+post_install
+}
+
+post_remove() {
+post_install
+}



[arch-commits] Commit in bbswitch/repos (6 files)

2013-12-21 Thread Tobias Powalowski
Date: Saturday, December 21, 2013 @ 19:31:57
  Author: tpowa
Revision: 102834

archrelease: copy trunk to community-testing-i686, community-testing-x86_64

Added:
  bbswitch/repos/community-testing-i686/
  bbswitch/repos/community-testing-i686/PKGBUILD
(from rev 102833, bbswitch/trunk/PKGBUILD)
  bbswitch/repos/community-testing-i686/bbswitch.install
(from rev 102833, bbswitch/trunk/bbswitch.install)
  bbswitch/repos/community-testing-x86_64/
  bbswitch/repos/community-testing-x86_64/PKGBUILD
(from rev 102833, bbswitch/trunk/PKGBUILD)
  bbswitch/repos/community-testing-x86_64/bbswitch.install
(from rev 102833, bbswitch/trunk/bbswitch.install)

---+
 community-testing-i686/PKGBUILD   |   33 
 community-testing-i686/bbswitch.install   |   12 ++
 community-testing-x86_64/PKGBUILD |   33 
 community-testing-x86_64/bbswitch.install |   12 ++
 4 files changed, 90 insertions(+)

Copied: bbswitch/repos/community-testing-i686/PKGBUILD (from rev 102833, 
bbswitch/trunk/PKGBUILD)
===
--- community-testing-i686/PKGBUILD (rev 0)
+++ community-testing-i686/PKGBUILD 2013-12-21 18:31:57 UTC (rev 102834)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: M0Rf30
+# Contributor: Samsagax 
+
+pkgname=bbswitch
+pkgver=0.8
+_extramodules=extramodules-3.12-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.12' 'linux<3.13')
+makedepends=('linux-headers>=3.12' 'linux-headers<3.13')
+install=bbswitch.install
+source=("https://github.com/Bumblebee-Project/bbswitch/archive/v${pkgver}.tar.gz";)
+md5sums=('5b116b31ace3604ddf9d1fc1f4bc5807')
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+
+  _kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
+
+  make KDIR=/usr/src/linux-${_kernver}
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+   
+  install -Dm644 bbswitch.ko 
"${pkgdir}"/usr/lib/modules/${_extramodules}/bbswitch.ko
+  gzip "${pkgdir}/usr/lib/modules/${_extramodules}/bbswitch.ko"
  
+}

Copied: bbswitch/repos/community-testing-i686/bbswitch.install (from rev 
102833, bbswitch/trunk/bbswitch.install)
===
--- community-testing-i686/bbswitch.install (rev 0)
+++ community-testing-i686/bbswitch.install 2013-12-21 18:31:57 UTC (rev 
102834)
@@ -0,0 +1,12 @@
+post_install() {
+EXTRAMODULES='extramodules-3.12-ARCH'
+depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+}
+
+post_upgrade() {
+post_install
+}
+
+post_remove() {
+post_install
+}

Copied: bbswitch/repos/community-testing-x86_64/PKGBUILD (from rev 102833, 
bbswitch/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2013-12-21 18:31:57 UTC (rev 102834)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: M0Rf30
+# Contributor: Samsagax 
+
+pkgname=bbswitch
+pkgver=0.8
+_extramodules=extramodules-3.12-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.12' 'linux<3.13')
+makedepends=('linux-headers>=3.12' 'linux-headers<3.13')
+install=bbswitch.install
+source=("https://github.com/Bumblebee-Project/bbswitch/archive/v${pkgver}.tar.gz";)
+md5sums=('5b116b31ace3604ddf9d1fc1f4bc5807')
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+
+  _kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
+
+  make KDIR=/usr/src/linux-${_kernver}
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+   
+  install -Dm644 bbswitch.ko 
"${pkgdir}"/usr/lib/modules/${_extramodules}/bbswitch.ko
+  gzip "${pkgdir}/usr/lib/modules/${_extramodules}/bbswitch.ko"
  
+}

Copied: bbswitch/repos/community-testing-x86_64/bbswitch.install (from rev 
102833, bbswitch/trunk/bbswitch.install)
===
--- community-testing-x86_64/bbswitch.install   (rev 0)
+++ community-testing-x86_64/bbswitch.install   2013-12-21 18:31:57 UTC (rev 
102834)
@@ -0,0 +1,12 @@
+post_install() {
+EXTRAMODULES='extramodules-3.12-ARCH'
+depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+}
+
+post_upgrade() {
+post_install
+}
+
+post_remove() {
+post_install
+}



[arch-commits] Commit in bbswitch/repos (6 files)

2013-11-05 Thread Tobias Powalowski
Date: Wednesday, November 6, 2013 @ 08:27:26
  Author: tpowa
Revision: 100566

archrelease: copy trunk to community-testing-i686, community-testing-x86_64

Added:
  bbswitch/repos/community-testing-i686/
  bbswitch/repos/community-testing-i686/PKGBUILD
(from rev 100565, bbswitch/trunk/PKGBUILD)
  bbswitch/repos/community-testing-i686/bbswitch.install
(from rev 100565, bbswitch/trunk/bbswitch.install)
  bbswitch/repos/community-testing-x86_64/
  bbswitch/repos/community-testing-x86_64/PKGBUILD
(from rev 100565, bbswitch/trunk/PKGBUILD)
  bbswitch/repos/community-testing-x86_64/bbswitch.install
(from rev 100565, bbswitch/trunk/bbswitch.install)

---+
 community-testing-i686/PKGBUILD   |   32 
 community-testing-i686/bbswitch.install   |   12 ++
 community-testing-x86_64/PKGBUILD |   32 
 community-testing-x86_64/bbswitch.install |   12 ++
 4 files changed, 88 insertions(+)

Copied: bbswitch/repos/community-testing-i686/PKGBUILD (from rev 100565, 
bbswitch/trunk/PKGBUILD)
===
--- community-testing-i686/PKGBUILD (rev 0)
+++ community-testing-i686/PKGBUILD 2013-11-06 07:27:26 UTC (rev 100566)
@@ -0,0 +1,32 @@
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: M0Rf30
+# Contributor: Samsagax 
+
+pkgname=bbswitch
+pkgver=0.7
+_extramodules=extramodules-3.12-ARCH # Don't forget to update bbswitch.install
+pkgrel=18
+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.12' 'linux<3.13')
+makedepends=('linux-headers>=3.12' 'linux-headers<3.13')
+install=bbswitch.install
+source=("https://github.com/Bumblebee-Project/bbswitch/archive/v${pkgver}.tar.gz";)
+md5sums=('b9df5ea40109ef9766448a0577c798e6')
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+
+  _kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
+
+  make KDIR=/usr/src/linux-${_kernver}
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+   
+  install -Dm644 bbswitch.ko 
"${pkgdir}"/usr/lib/modules/${_extramodules}/bbswitch.ko
+  gzip "${pkgdir}/usr/lib/modules/${_extramodules}/bbswitch.ko"
  
+}

Copied: bbswitch/repos/community-testing-i686/bbswitch.install (from rev 
100565, bbswitch/trunk/bbswitch.install)
===
--- community-testing-i686/bbswitch.install (rev 0)
+++ community-testing-i686/bbswitch.install 2013-11-06 07:27:26 UTC (rev 
100566)
@@ -0,0 +1,12 @@
+post_install() {
+EXTRAMODULES='extramodules-3.12-ARCH'
+depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+}
+
+post_upgrade() {
+post_install
+}
+
+post_remove() {
+post_install
+}

Copied: bbswitch/repos/community-testing-x86_64/PKGBUILD (from rev 100565, 
bbswitch/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2013-11-06 07:27:26 UTC (rev 100566)
@@ -0,0 +1,32 @@
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: M0Rf30
+# Contributor: Samsagax 
+
+pkgname=bbswitch
+pkgver=0.7
+_extramodules=extramodules-3.12-ARCH # Don't forget to update bbswitch.install
+pkgrel=18
+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.12' 'linux<3.13')
+makedepends=('linux-headers>=3.12' 'linux-headers<3.13')
+install=bbswitch.install
+source=("https://github.com/Bumblebee-Project/bbswitch/archive/v${pkgver}.tar.gz";)
+md5sums=('b9df5ea40109ef9766448a0577c798e6')
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+
+  _kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
+
+  make KDIR=/usr/src/linux-${_kernver}
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+   
+  install -Dm644 bbswitch.ko 
"${pkgdir}"/usr/lib/modules/${_extramodules}/bbswitch.ko
+  gzip "${pkgdir}/usr/lib/modules/${_extramodules}/bbswitch.ko"
  
+}

Copied: bbswitch/repos/community-testing-x86_64/bbswitch.install (from rev 
100565, bbswitch/trunk/bbswitch.install)
===
--- community-testing-x86_64/bbswitch.install   (rev 0)
+++ community-testing-x86_64/bbswitch.install   2013-11-06 07:27:26 UTC (rev 
100566)
@@ -0,0 +1,12 @@
+post_install() {
+EXTRAMODULES='extramodules-3.12-ARCH'
+depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+}
+
+post_upgrade() {
+post_install
+}
+
+post_remove() {
+post_install
+}



[arch-commits] Commit in bbswitch/repos (6 files)

2013-10-14 Thread Tobias Powalowski
Date: Monday, October 14, 2013 @ 08:59:54
  Author: tpowa
Revision: 98564

archrelease: copy trunk to community-testing-i686, community-testing-x86_64

Added:
  bbswitch/repos/community-testing-i686/
  bbswitch/repos/community-testing-i686/PKGBUILD
(from rev 98563, bbswitch/trunk/PKGBUILD)
  bbswitch/repos/community-testing-i686/bbswitch.install
(from rev 98563, bbswitch/trunk/bbswitch.install)
  bbswitch/repos/community-testing-x86_64/
  bbswitch/repos/community-testing-x86_64/PKGBUILD
(from rev 98563, bbswitch/trunk/PKGBUILD)
  bbswitch/repos/community-testing-x86_64/bbswitch.install
(from rev 98563, bbswitch/trunk/bbswitch.install)

---+
 community-testing-i686/PKGBUILD   |   32 
 community-testing-i686/bbswitch.install   |   12 ++
 community-testing-x86_64/PKGBUILD |   32 
 community-testing-x86_64/bbswitch.install |   12 ++
 4 files changed, 88 insertions(+)

Copied: bbswitch/repos/community-testing-i686/PKGBUILD (from rev 98563, 
bbswitch/trunk/PKGBUILD)
===
--- community-testing-i686/PKGBUILD (rev 0)
+++ community-testing-i686/PKGBUILD 2013-10-14 06:59:54 UTC (rev 98564)
@@ -0,0 +1,32 @@
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: M0Rf30
+# Contributor: Samsagax 
+
+pkgname=bbswitch
+pkgver=0.7
+_extramodules=extramodules-3.11-ARCH # Don't forget to update bbswitch.install
+pkgrel=17
+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.11' 'linux<3.12')
+makedepends=('linux-headers>=3.11' 'linux-headers<3.12')
+install=bbswitch.install
+source=("https://github.com/Bumblebee-Project/bbswitch/archive/v${pkgver}.tar.gz";)
+md5sums=('b9df5ea40109ef9766448a0577c798e6')
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+
+  _kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
+
+  make KDIR=/usr/src/linux-${_kernver}
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+   
+  install -Dm644 bbswitch.ko 
"${pkgdir}"/usr/lib/modules/${_extramodules}/bbswitch.ko
+  gzip "${pkgdir}/usr/lib/modules/${_extramodules}/bbswitch.ko"
  
+}

Copied: bbswitch/repos/community-testing-i686/bbswitch.install (from rev 98563, 
bbswitch/trunk/bbswitch.install)
===
--- community-testing-i686/bbswitch.install (rev 0)
+++ community-testing-i686/bbswitch.install 2013-10-14 06:59:54 UTC (rev 
98564)
@@ -0,0 +1,12 @@
+post_install() {
+EXTRAMODULES='extramodules-3.11-ARCH'
+depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+}
+
+post_upgrade() {
+post_install
+}
+
+post_remove() {
+post_install
+}

Copied: bbswitch/repos/community-testing-x86_64/PKGBUILD (from rev 98563, 
bbswitch/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2013-10-14 06:59:54 UTC (rev 98564)
@@ -0,0 +1,32 @@
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: M0Rf30
+# Contributor: Samsagax 
+
+pkgname=bbswitch
+pkgver=0.7
+_extramodules=extramodules-3.11-ARCH # Don't forget to update bbswitch.install
+pkgrel=17
+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.11' 'linux<3.12')
+makedepends=('linux-headers>=3.11' 'linux-headers<3.12')
+install=bbswitch.install
+source=("https://github.com/Bumblebee-Project/bbswitch/archive/v${pkgver}.tar.gz";)
+md5sums=('b9df5ea40109ef9766448a0577c798e6')
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+
+  _kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
+
+  make KDIR=/usr/src/linux-${_kernver}
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+   
+  install -Dm644 bbswitch.ko 
"${pkgdir}"/usr/lib/modules/${_extramodules}/bbswitch.ko
+  gzip "${pkgdir}/usr/lib/modules/${_extramodules}/bbswitch.ko"
  
+}

Copied: bbswitch/repos/community-testing-x86_64/bbswitch.install (from rev 
98563, bbswitch/trunk/bbswitch.install)
===
--- community-testing-x86_64/bbswitch.install   (rev 0)
+++ community-testing-x86_64/bbswitch.install   2013-10-14 06:59:54 UTC (rev 
98564)
@@ -0,0 +1,12 @@
+post_install() {
+EXTRAMODULES='extramodules-3.11-ARCH'
+depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+}
+
+post_upgrade() {
+post_install
+}
+
+post_remove() {
+post_install
+}



[arch-commits] Commit in bbswitch/repos (6 files)

2013-10-02 Thread Evangelos Foutras
Date: Wednesday, October 2, 2013 @ 17:36:26
  Author: foutrelis
Revision: 97986

archrelease: copy trunk to community-testing-i686, community-testing-x86_64

Added:
  bbswitch/repos/community-testing-i686/
  bbswitch/repos/community-testing-i686/PKGBUILD
(from rev 97985, bbswitch/trunk/PKGBUILD)
  bbswitch/repos/community-testing-i686/bbswitch.install
(from rev 97985, bbswitch/trunk/bbswitch.install)
  bbswitch/repos/community-testing-x86_64/
  bbswitch/repos/community-testing-x86_64/PKGBUILD
(from rev 97985, bbswitch/trunk/PKGBUILD)
  bbswitch/repos/community-testing-x86_64/bbswitch.install
(from rev 97985, bbswitch/trunk/bbswitch.install)

---+
 community-testing-i686/PKGBUILD   |   32 
 community-testing-i686/bbswitch.install   |   12 ++
 community-testing-x86_64/PKGBUILD |   32 
 community-testing-x86_64/bbswitch.install |   12 ++
 4 files changed, 88 insertions(+)

Copied: bbswitch/repos/community-testing-i686/PKGBUILD (from rev 97985, 
bbswitch/trunk/PKGBUILD)
===
--- community-testing-i686/PKGBUILD (rev 0)
+++ community-testing-i686/PKGBUILD 2013-10-02 15:36:26 UTC (rev 97986)
@@ -0,0 +1,32 @@
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: M0Rf30
+# Contributor: Samsagax 
+
+pkgname=bbswitch
+pkgver=0.7
+_extramodules=extramodules-3.11-ARCH # Don't forget to update bbswitch.install
+pkgrel=15
+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.11' 'linux<3.12')
+makedepends=('linux-headers>=3.11' 'linux-headers<3.12')
+install=bbswitch.install
+source=("https://github.com/Bumblebee-Project/bbswitch/archive/v${pkgver}.tar.gz";)
+md5sums=('b9df5ea40109ef9766448a0577c798e6')
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+
+  _kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
+
+  make KDIR=/usr/src/linux-${_kernver}
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+   
+  install -Dm644 bbswitch.ko 
"${pkgdir}"/usr/lib/modules/${_extramodules}/bbswitch.ko
+  gzip "${pkgdir}/usr/lib/modules/${_extramodules}/bbswitch.ko"
  
+}

Copied: bbswitch/repos/community-testing-i686/bbswitch.install (from rev 97985, 
bbswitch/trunk/bbswitch.install)
===
--- community-testing-i686/bbswitch.install (rev 0)
+++ community-testing-i686/bbswitch.install 2013-10-02 15:36:26 UTC (rev 
97986)
@@ -0,0 +1,12 @@
+post_install() {
+EXTRAMODULES='extramodules-3.11-ARCH'
+depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+}
+
+post_upgrade() {
+post_install
+}
+
+post_remove() {
+post_install
+}

Copied: bbswitch/repos/community-testing-x86_64/PKGBUILD (from rev 97985, 
bbswitch/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2013-10-02 15:36:26 UTC (rev 97986)
@@ -0,0 +1,32 @@
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: M0Rf30
+# Contributor: Samsagax 
+
+pkgname=bbswitch
+pkgver=0.7
+_extramodules=extramodules-3.11-ARCH # Don't forget to update bbswitch.install
+pkgrel=15
+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.11' 'linux<3.12')
+makedepends=('linux-headers>=3.11' 'linux-headers<3.12')
+install=bbswitch.install
+source=("https://github.com/Bumblebee-Project/bbswitch/archive/v${pkgver}.tar.gz";)
+md5sums=('b9df5ea40109ef9766448a0577c798e6')
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+
+  _kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
+
+  make KDIR=/usr/src/linux-${_kernver}
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+   
+  install -Dm644 bbswitch.ko 
"${pkgdir}"/usr/lib/modules/${_extramodules}/bbswitch.ko
+  gzip "${pkgdir}/usr/lib/modules/${_extramodules}/bbswitch.ko"
  
+}

Copied: bbswitch/repos/community-testing-x86_64/bbswitch.install (from rev 
97985, bbswitch/trunk/bbswitch.install)
===
--- community-testing-x86_64/bbswitch.install   (rev 0)
+++ community-testing-x86_64/bbswitch.install   2013-10-02 15:36:26 UTC (rev 
97986)
@@ -0,0 +1,12 @@
+post_install() {
+EXTRAMODULES='extramodules-3.11-ARCH'
+depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+}
+
+post_upgrade() {
+post_install
+}
+
+post_remove() {
+post_install
+}



[arch-commits] Commit in bbswitch/repos (6 files)

2013-09-03 Thread Tobias Powalowski
Date: Tuesday, September 3, 2013 @ 09:56:49
  Author: tpowa
Revision: 96704

archrelease: copy trunk to community-testing-i686, community-testing-x86_64

Added:
  bbswitch/repos/community-testing-i686/
  bbswitch/repos/community-testing-i686/PKGBUILD
(from rev 96703, bbswitch/trunk/PKGBUILD)
  bbswitch/repos/community-testing-i686/bbswitch.install
(from rev 96703, bbswitch/trunk/bbswitch.install)
  bbswitch/repos/community-testing-x86_64/
  bbswitch/repos/community-testing-x86_64/PKGBUILD
(from rev 96703, bbswitch/trunk/PKGBUILD)
  bbswitch/repos/community-testing-x86_64/bbswitch.install
(from rev 96703, bbswitch/trunk/bbswitch.install)

---+
 community-testing-i686/PKGBUILD   |   32 
 community-testing-i686/bbswitch.install   |   12 ++
 community-testing-x86_64/PKGBUILD |   32 
 community-testing-x86_64/bbswitch.install |   12 ++
 4 files changed, 88 insertions(+)

Copied: bbswitch/repos/community-testing-i686/PKGBUILD (from rev 96703, 
bbswitch/trunk/PKGBUILD)
===
--- community-testing-i686/PKGBUILD (rev 0)
+++ community-testing-i686/PKGBUILD 2013-09-03 07:56:49 UTC (rev 96704)
@@ -0,0 +1,32 @@
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: M0Rf30
+# Contributor: Samsagax 
+
+pkgname=bbswitch
+pkgver=0.7
+_extramodules=extramodules-3.11-ARCH # Don't forget to update bbswitch.install
+pkgrel=13
+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.11' 'linux<3.12')
+makedepends=('linux-headers>=3.11' 'linux-headers<3.12')
+install=bbswitch.install
+source=("https://github.com/Bumblebee-Project/bbswitch/archive/v${pkgver}.tar.gz";)
+md5sums=('b9df5ea40109ef9766448a0577c798e6')
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+
+  _kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
+
+  make KDIR=/usr/src/linux-${_kernver}
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+   
+  install -Dm644 bbswitch.ko 
"${pkgdir}"/usr/lib/modules/${_extramodules}/bbswitch.ko
+  gzip "${pkgdir}/usr/lib/modules/${_extramodules}/bbswitch.ko"
  
+}

Copied: bbswitch/repos/community-testing-i686/bbswitch.install (from rev 96703, 
bbswitch/trunk/bbswitch.install)
===
--- community-testing-i686/bbswitch.install (rev 0)
+++ community-testing-i686/bbswitch.install 2013-09-03 07:56:49 UTC (rev 
96704)
@@ -0,0 +1,12 @@
+post_install() {
+EXTRAMODULES='extramodules-3.11-ARCH'
+depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+}
+
+post_upgrade() {
+post_install
+}
+
+post_remove() {
+post_install
+}

Copied: bbswitch/repos/community-testing-x86_64/PKGBUILD (from rev 96703, 
bbswitch/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2013-09-03 07:56:49 UTC (rev 96704)
@@ -0,0 +1,32 @@
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: M0Rf30
+# Contributor: Samsagax 
+
+pkgname=bbswitch
+pkgver=0.7
+_extramodules=extramodules-3.11-ARCH # Don't forget to update bbswitch.install
+pkgrel=13
+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.11' 'linux<3.12')
+makedepends=('linux-headers>=3.11' 'linux-headers<3.12')
+install=bbswitch.install
+source=("https://github.com/Bumblebee-Project/bbswitch/archive/v${pkgver}.tar.gz";)
+md5sums=('b9df5ea40109ef9766448a0577c798e6')
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+
+  _kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
+
+  make KDIR=/usr/src/linux-${_kernver}
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+   
+  install -Dm644 bbswitch.ko 
"${pkgdir}"/usr/lib/modules/${_extramodules}/bbswitch.ko
+  gzip "${pkgdir}/usr/lib/modules/${_extramodules}/bbswitch.ko"
  
+}

Copied: bbswitch/repos/community-testing-x86_64/bbswitch.install (from rev 
96703, bbswitch/trunk/bbswitch.install)
===
--- community-testing-x86_64/bbswitch.install   (rev 0)
+++ community-testing-x86_64/bbswitch.install   2013-09-03 07:56:49 UTC (rev 
96704)
@@ -0,0 +1,12 @@
+post_install() {
+EXTRAMODULES='extramodules-3.11-ARCH'
+depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+}
+
+post_upgrade() {
+post_install
+}
+
+post_remove() {
+post_install
+}



[arch-commits] Commit in bbswitch/repos (6 files)

2013-08-30 Thread Evangelos Foutras
Date: Friday, August 30, 2013 @ 22:30:24
  Author: foutrelis
Revision: 96503

archrelease: copy trunk to community-testing-i686, community-testing-x86_64

Added:
  bbswitch/repos/community-testing-i686/
  bbswitch/repos/community-testing-i686/PKGBUILD
(from rev 96502, bbswitch/trunk/PKGBUILD)
  bbswitch/repos/community-testing-i686/bbswitch.install
(from rev 96502, bbswitch/trunk/bbswitch.install)
  bbswitch/repos/community-testing-x86_64/
  bbswitch/repos/community-testing-x86_64/PKGBUILD
(from rev 96502, bbswitch/trunk/PKGBUILD)
  bbswitch/repos/community-testing-x86_64/bbswitch.install
(from rev 96502, bbswitch/trunk/bbswitch.install)

---+
 community-testing-i686/PKGBUILD   |   32 
 community-testing-i686/bbswitch.install   |   12 ++
 community-testing-x86_64/PKGBUILD |   32 
 community-testing-x86_64/bbswitch.install |   12 ++
 4 files changed, 88 insertions(+)

Copied: bbswitch/repos/community-testing-i686/PKGBUILD (from rev 96502, 
bbswitch/trunk/PKGBUILD)
===
--- community-testing-i686/PKGBUILD (rev 0)
+++ community-testing-i686/PKGBUILD 2013-08-30 20:30:24 UTC (rev 96503)
@@ -0,0 +1,32 @@
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: M0Rf30
+# Contributor: Samsagax 
+
+pkgname=bbswitch
+pkgver=0.7
+_extramodules=extramodules-3.10-ARCH # Don't forget to update bbswitch.install
+pkgrel=12
+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.10' 'linux<3.11')
+makedepends=('linux-headers>=3.10' 'linux-headers<3.11')
+install=bbswitch.install
+source=("https://github.com/Bumblebee-Project/bbswitch/archive/v${pkgver}.tar.gz";)
+md5sums=('b9df5ea40109ef9766448a0577c798e6')
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+
+  _kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
+
+  make KDIR=/usr/src/linux-${_kernver}
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+   
+  install -Dm644 bbswitch.ko 
"${pkgdir}"/usr/lib/modules/${_extramodules}/bbswitch.ko
+  gzip "${pkgdir}/usr/lib/modules/${_extramodules}/bbswitch.ko"
  
+}

Copied: bbswitch/repos/community-testing-i686/bbswitch.install (from rev 96502, 
bbswitch/trunk/bbswitch.install)
===
--- community-testing-i686/bbswitch.install (rev 0)
+++ community-testing-i686/bbswitch.install 2013-08-30 20:30:24 UTC (rev 
96503)
@@ -0,0 +1,12 @@
+post_install() {
+EXTRAMODULES='extramodules-3.10-ARCH'
+depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+}
+
+post_upgrade() {
+post_install
+}
+
+post_remove() {
+post_install
+}

Copied: bbswitch/repos/community-testing-x86_64/PKGBUILD (from rev 96502, 
bbswitch/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2013-08-30 20:30:24 UTC (rev 96503)
@@ -0,0 +1,32 @@
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: M0Rf30
+# Contributor: Samsagax 
+
+pkgname=bbswitch
+pkgver=0.7
+_extramodules=extramodules-3.10-ARCH # Don't forget to update bbswitch.install
+pkgrel=12
+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.10' 'linux<3.11')
+makedepends=('linux-headers>=3.10' 'linux-headers<3.11')
+install=bbswitch.install
+source=("https://github.com/Bumblebee-Project/bbswitch/archive/v${pkgver}.tar.gz";)
+md5sums=('b9df5ea40109ef9766448a0577c798e6')
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+
+  _kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
+
+  make KDIR=/usr/src/linux-${_kernver}
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+   
+  install -Dm644 bbswitch.ko 
"${pkgdir}"/usr/lib/modules/${_extramodules}/bbswitch.ko
+  gzip "${pkgdir}/usr/lib/modules/${_extramodules}/bbswitch.ko"
  
+}

Copied: bbswitch/repos/community-testing-x86_64/bbswitch.install (from rev 
96502, bbswitch/trunk/bbswitch.install)
===
--- community-testing-x86_64/bbswitch.install   (rev 0)
+++ community-testing-x86_64/bbswitch.install   2013-08-30 20:30:24 UTC (rev 
96503)
@@ -0,0 +1,12 @@
+post_install() {
+EXTRAMODULES='extramodules-3.10-ARCH'
+depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+}
+
+post_upgrade() {
+post_install
+}
+
+post_remove() {
+post_install
+}



[arch-commits] Commit in bbswitch/repos (6 files)

2013-08-20 Thread Tobias Powalowski
Date: Wednesday, August 21, 2013 @ 00:20:03
  Author: tpowa
Revision: 96168

archrelease: copy trunk to community-testing-i686, community-testing-x86_64

Added:
  bbswitch/repos/community-testing-i686/
  bbswitch/repos/community-testing-i686/PKGBUILD
(from rev 96167, bbswitch/trunk/PKGBUILD)
  bbswitch/repos/community-testing-i686/bbswitch.install
(from rev 96167, bbswitch/trunk/bbswitch.install)
  bbswitch/repos/community-testing-x86_64/
  bbswitch/repos/community-testing-x86_64/PKGBUILD
(from rev 96167, bbswitch/trunk/PKGBUILD)
  bbswitch/repos/community-testing-x86_64/bbswitch.install
(from rev 96167, bbswitch/trunk/bbswitch.install)

---+
 community-testing-i686/PKGBUILD   |   32 
 community-testing-i686/bbswitch.install   |   12 ++
 community-testing-x86_64/PKGBUILD |   32 
 community-testing-x86_64/bbswitch.install |   12 ++
 4 files changed, 88 insertions(+)

Copied: bbswitch/repos/community-testing-i686/PKGBUILD (from rev 96167, 
bbswitch/trunk/PKGBUILD)
===
--- community-testing-i686/PKGBUILD (rev 0)
+++ community-testing-i686/PKGBUILD 2013-08-20 22:20:03 UTC (rev 96168)
@@ -0,0 +1,32 @@
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: M0Rf30
+# Contributor: Samsagax 
+
+pkgname=bbswitch
+pkgver=0.7
+_extramodules=extramodules-3.10-ARCH # Don't forget to update bbswitch.install
+pkgrel=11
+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.10' 'linux<3.11')
+makedepends=('linux-headers>=3.10' 'linux-headers<3.11')
+install=bbswitch.install
+source=("https://github.com/Bumblebee-Project/bbswitch/archive/v${pkgver}.tar.gz";)
+md5sums=('b9df5ea40109ef9766448a0577c798e6')
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+
+  _kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
+
+  make KDIR=/usr/src/linux-${_kernver}
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+   
+  install -Dm644 bbswitch.ko 
"${pkgdir}"/usr/lib/modules/${_extramodules}/bbswitch.ko
+  gzip "${pkgdir}/usr/lib/modules/${_extramodules}/bbswitch.ko"
  
+}

Copied: bbswitch/repos/community-testing-i686/bbswitch.install (from rev 96167, 
bbswitch/trunk/bbswitch.install)
===
--- community-testing-i686/bbswitch.install (rev 0)
+++ community-testing-i686/bbswitch.install 2013-08-20 22:20:03 UTC (rev 
96168)
@@ -0,0 +1,12 @@
+post_install() {
+EXTRAMODULES='extramodules-3.10-ARCH'
+depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+}
+
+post_upgrade() {
+post_install
+}
+
+post_remove() {
+post_install
+}

Copied: bbswitch/repos/community-testing-x86_64/PKGBUILD (from rev 96167, 
bbswitch/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2013-08-20 22:20:03 UTC (rev 96168)
@@ -0,0 +1,32 @@
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: M0Rf30
+# Contributor: Samsagax 
+
+pkgname=bbswitch
+pkgver=0.7
+_extramodules=extramodules-3.10-ARCH # Don't forget to update bbswitch.install
+pkgrel=11
+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.10' 'linux<3.11')
+makedepends=('linux-headers>=3.10' 'linux-headers<3.11')
+install=bbswitch.install
+source=("https://github.com/Bumblebee-Project/bbswitch/archive/v${pkgver}.tar.gz";)
+md5sums=('b9df5ea40109ef9766448a0577c798e6')
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+
+  _kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
+
+  make KDIR=/usr/src/linux-${_kernver}
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+   
+  install -Dm644 bbswitch.ko 
"${pkgdir}"/usr/lib/modules/${_extramodules}/bbswitch.ko
+  gzip "${pkgdir}/usr/lib/modules/${_extramodules}/bbswitch.ko"
  
+}

Copied: bbswitch/repos/community-testing-x86_64/bbswitch.install (from rev 
96167, bbswitch/trunk/bbswitch.install)
===
--- community-testing-x86_64/bbswitch.install   (rev 0)
+++ community-testing-x86_64/bbswitch.install   2013-08-20 22:20:03 UTC (rev 
96168)
@@ -0,0 +1,12 @@
+post_install() {
+EXTRAMODULES='extramodules-3.10-ARCH'
+depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+}
+
+post_upgrade() {
+post_install
+}
+
+post_remove() {
+post_install
+}



[arch-commits] Commit in bbswitch/repos (6 files)

2013-08-16 Thread Tobias Powalowski
Date: Friday, August 16, 2013 @ 10:58:52
  Author: tpowa
Revision: 95730

archrelease: copy trunk to community-testing-i686, community-testing-x86_64

Added:
  bbswitch/repos/community-testing-i686/
  bbswitch/repos/community-testing-i686/PKGBUILD
(from rev 95729, bbswitch/trunk/PKGBUILD)
  bbswitch/repos/community-testing-i686/bbswitch.install
(from rev 95729, bbswitch/trunk/bbswitch.install)
  bbswitch/repos/community-testing-x86_64/
  bbswitch/repos/community-testing-x86_64/PKGBUILD
(from rev 95729, bbswitch/trunk/PKGBUILD)
  bbswitch/repos/community-testing-x86_64/bbswitch.install
(from rev 95729, bbswitch/trunk/bbswitch.install)

---+
 community-testing-i686/PKGBUILD   |   32 
 community-testing-i686/bbswitch.install   |   12 ++
 community-testing-x86_64/PKGBUILD |   32 
 community-testing-x86_64/bbswitch.install |   12 ++
 4 files changed, 88 insertions(+)

Copied: bbswitch/repos/community-testing-i686/PKGBUILD (from rev 95729, 
bbswitch/trunk/PKGBUILD)
===
--- community-testing-i686/PKGBUILD (rev 0)
+++ community-testing-i686/PKGBUILD 2013-08-16 08:58:52 UTC (rev 95730)
@@ -0,0 +1,32 @@
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: M0Rf30
+# Contributor: Samsagax 
+
+pkgname=bbswitch
+pkgver=0.7
+_extramodules=extramodules-3.10-ARCH # Don't forget to update bbswitch.install
+pkgrel=10
+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.10' 'linux<3.11')
+makedepends=('linux-headers>=3.10' 'linux-headers<3.11')
+install=bbswitch.install
+source=("https://github.com/Bumblebee-Project/bbswitch/archive/v${pkgver}.tar.gz";)
+md5sums=('b9df5ea40109ef9766448a0577c798e6')
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+
+  _kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
+
+  make KDIR=/usr/src/linux-${_kernver}
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+   
+  install -Dm644 bbswitch.ko 
"${pkgdir}"/usr/lib/modules/${_extramodules}/bbswitch.ko
+  gzip "${pkgdir}/usr/lib/modules/${_extramodules}/bbswitch.ko"
  
+}

Copied: bbswitch/repos/community-testing-i686/bbswitch.install (from rev 95729, 
bbswitch/trunk/bbswitch.install)
===
--- community-testing-i686/bbswitch.install (rev 0)
+++ community-testing-i686/bbswitch.install 2013-08-16 08:58:52 UTC (rev 
95730)
@@ -0,0 +1,12 @@
+post_install() {
+EXTRAMODULES='extramodules-3.10-ARCH'
+depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+}
+
+post_upgrade() {
+post_install
+}
+
+post_remove() {
+post_install
+}

Copied: bbswitch/repos/community-testing-x86_64/PKGBUILD (from rev 95729, 
bbswitch/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2013-08-16 08:58:52 UTC (rev 95730)
@@ -0,0 +1,32 @@
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: M0Rf30
+# Contributor: Samsagax 
+
+pkgname=bbswitch
+pkgver=0.7
+_extramodules=extramodules-3.10-ARCH # Don't forget to update bbswitch.install
+pkgrel=10
+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.10' 'linux<3.11')
+makedepends=('linux-headers>=3.10' 'linux-headers<3.11')
+install=bbswitch.install
+source=("https://github.com/Bumblebee-Project/bbswitch/archive/v${pkgver}.tar.gz";)
+md5sums=('b9df5ea40109ef9766448a0577c798e6')
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+
+  _kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
+
+  make KDIR=/usr/src/linux-${_kernver}
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+   
+  install -Dm644 bbswitch.ko 
"${pkgdir}"/usr/lib/modules/${_extramodules}/bbswitch.ko
+  gzip "${pkgdir}/usr/lib/modules/${_extramodules}/bbswitch.ko"
  
+}

Copied: bbswitch/repos/community-testing-x86_64/bbswitch.install (from rev 
95729, bbswitch/trunk/bbswitch.install)
===
--- community-testing-x86_64/bbswitch.install   (rev 0)
+++ community-testing-x86_64/bbswitch.install   2013-08-16 08:58:52 UTC (rev 
95730)
@@ -0,0 +1,12 @@
+post_install() {
+EXTRAMODULES='extramodules-3.10-ARCH'
+depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+}
+
+post_upgrade() {
+post_install
+}
+
+post_remove() {
+post_install
+}



[arch-commits] Commit in bbswitch/repos (6 files)

2013-08-12 Thread Tobias Powalowski
Date: Monday, August 12, 2013 @ 09:15:24
  Author: tpowa
Revision: 95424

archrelease: copy trunk to community-testing-i686, community-testing-x86_64

Added:
  bbswitch/repos/community-testing-i686/
  bbswitch/repos/community-testing-i686/PKGBUILD
(from rev 95423, bbswitch/trunk/PKGBUILD)
  bbswitch/repos/community-testing-i686/bbswitch.install
(from rev 95423, bbswitch/trunk/bbswitch.install)
  bbswitch/repos/community-testing-x86_64/
  bbswitch/repos/community-testing-x86_64/PKGBUILD
(from rev 95423, bbswitch/trunk/PKGBUILD)
  bbswitch/repos/community-testing-x86_64/bbswitch.install
(from rev 95423, bbswitch/trunk/bbswitch.install)

---+
 community-testing-i686/PKGBUILD   |   32 
 community-testing-i686/bbswitch.install   |   12 ++
 community-testing-x86_64/PKGBUILD |   32 
 community-testing-x86_64/bbswitch.install |   12 ++
 4 files changed, 88 insertions(+)

Copied: bbswitch/repos/community-testing-i686/PKGBUILD (from rev 95423, 
bbswitch/trunk/PKGBUILD)
===
--- community-testing-i686/PKGBUILD (rev 0)
+++ community-testing-i686/PKGBUILD 2013-08-12 07:15:24 UTC (rev 95424)
@@ -0,0 +1,32 @@
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: M0Rf30
+# Contributor: Samsagax 
+
+pkgname=bbswitch
+pkgver=0.7
+_extramodules=extramodules-3.10-ARCH # Don't forget to update bbswitch.install
+pkgrel=9
+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.10' 'linux<3.11')
+makedepends=('linux-headers>=3.10' 'linux-headers<3.11')
+install=bbswitch.install
+source=("https://github.com/Bumblebee-Project/bbswitch/archive/v${pkgver}.tar.gz";)
+md5sums=('b9df5ea40109ef9766448a0577c798e6')
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+
+  _kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
+
+  make KDIR=/usr/src/linux-${_kernver}
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+   
+  install -Dm644 bbswitch.ko 
"${pkgdir}"/usr/lib/modules/${_extramodules}/bbswitch.ko
+  gzip "${pkgdir}/usr/lib/modules/${_extramodules}/bbswitch.ko"
  
+}

Copied: bbswitch/repos/community-testing-i686/bbswitch.install (from rev 95423, 
bbswitch/trunk/bbswitch.install)
===
--- community-testing-i686/bbswitch.install (rev 0)
+++ community-testing-i686/bbswitch.install 2013-08-12 07:15:24 UTC (rev 
95424)
@@ -0,0 +1,12 @@
+post_install() {
+EXTRAMODULES='extramodules-3.10-ARCH'
+depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+}
+
+post_upgrade() {
+post_install
+}
+
+post_remove() {
+post_install
+}

Copied: bbswitch/repos/community-testing-x86_64/PKGBUILD (from rev 95423, 
bbswitch/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2013-08-12 07:15:24 UTC (rev 95424)
@@ -0,0 +1,32 @@
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: M0Rf30
+# Contributor: Samsagax 
+
+pkgname=bbswitch
+pkgver=0.7
+_extramodules=extramodules-3.10-ARCH # Don't forget to update bbswitch.install
+pkgrel=9
+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.10' 'linux<3.11')
+makedepends=('linux-headers>=3.10' 'linux-headers<3.11')
+install=bbswitch.install
+source=("https://github.com/Bumblebee-Project/bbswitch/archive/v${pkgver}.tar.gz";)
+md5sums=('b9df5ea40109ef9766448a0577c798e6')
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+
+  _kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
+
+  make KDIR=/usr/src/linux-${_kernver}
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+   
+  install -Dm644 bbswitch.ko 
"${pkgdir}"/usr/lib/modules/${_extramodules}/bbswitch.ko
+  gzip "${pkgdir}/usr/lib/modules/${_extramodules}/bbswitch.ko"
  
+}

Copied: bbswitch/repos/community-testing-x86_64/bbswitch.install (from rev 
95423, bbswitch/trunk/bbswitch.install)
===
--- community-testing-x86_64/bbswitch.install   (rev 0)
+++ community-testing-x86_64/bbswitch.install   2013-08-12 07:15:24 UTC (rev 
95424)
@@ -0,0 +1,12 @@
+post_install() {
+EXTRAMODULES='extramodules-3.10-ARCH'
+depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+}
+
+post_upgrade() {
+post_install
+}
+
+post_remove() {
+post_install
+}



[arch-commits] Commit in bbswitch/repos (6 files)

2013-07-29 Thread Tobias Powalowski
Date: Monday, July 29, 2013 @ 11:39:08
  Author: tpowa
Revision: 94690

archrelease: copy trunk to community-testing-i686, community-testing-x86_64

Added:
  bbswitch/repos/community-testing-i686/
  bbswitch/repos/community-testing-i686/PKGBUILD
(from rev 94689, bbswitch/trunk/PKGBUILD)
  bbswitch/repos/community-testing-i686/bbswitch.install
(from rev 94689, bbswitch/trunk/bbswitch.install)
  bbswitch/repos/community-testing-x86_64/
  bbswitch/repos/community-testing-x86_64/PKGBUILD
(from rev 94689, bbswitch/trunk/PKGBUILD)
  bbswitch/repos/community-testing-x86_64/bbswitch.install
(from rev 94689, bbswitch/trunk/bbswitch.install)

---+
 community-testing-i686/PKGBUILD   |   32 
 community-testing-i686/bbswitch.install   |   12 ++
 community-testing-x86_64/PKGBUILD |   32 
 community-testing-x86_64/bbswitch.install |   12 ++
 4 files changed, 88 insertions(+)

Copied: bbswitch/repos/community-testing-i686/PKGBUILD (from rev 94689, 
bbswitch/trunk/PKGBUILD)
===
--- community-testing-i686/PKGBUILD (rev 0)
+++ community-testing-i686/PKGBUILD 2013-07-29 09:39:08 UTC (rev 94690)
@@ -0,0 +1,32 @@
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: M0Rf30
+# Contributor: Samsagax 
+
+pkgname=bbswitch
+pkgver=0.7
+_extramodules=extramodules-3.10-ARCH # Don't forget to update bbswitch.install
+pkgrel=7
+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.10' 'linux<3.11')
+makedepends=('linux-headers>=3.10' 'linux-headers<3.11')
+install=bbswitch.install
+source=("https://github.com/Bumblebee-Project/bbswitch/archive/v${pkgver}.tar.gz";)
+md5sums=('b9df5ea40109ef9766448a0577c798e6')
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+
+  _kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
+
+  make KDIR=/usr/src/linux-${_kernver}
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+   
+  install -Dm644 bbswitch.ko 
"${pkgdir}"/usr/lib/modules/${_extramodules}/bbswitch.ko
+  gzip "${pkgdir}/usr/lib/modules/${_extramodules}/bbswitch.ko"
  
+}

Copied: bbswitch/repos/community-testing-i686/bbswitch.install (from rev 94689, 
bbswitch/trunk/bbswitch.install)
===
--- community-testing-i686/bbswitch.install (rev 0)
+++ community-testing-i686/bbswitch.install 2013-07-29 09:39:08 UTC (rev 
94690)
@@ -0,0 +1,12 @@
+post_install() {
+EXTRAMODULES='extramodules-3.10-ARCH'
+depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+}
+
+post_upgrade() {
+post_install
+}
+
+post_remove() {
+post_install
+}

Copied: bbswitch/repos/community-testing-x86_64/PKGBUILD (from rev 94689, 
bbswitch/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2013-07-29 09:39:08 UTC (rev 94690)
@@ -0,0 +1,32 @@
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: M0Rf30
+# Contributor: Samsagax 
+
+pkgname=bbswitch
+pkgver=0.7
+_extramodules=extramodules-3.10-ARCH # Don't forget to update bbswitch.install
+pkgrel=7
+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.10' 'linux<3.11')
+makedepends=('linux-headers>=3.10' 'linux-headers<3.11')
+install=bbswitch.install
+source=("https://github.com/Bumblebee-Project/bbswitch/archive/v${pkgver}.tar.gz";)
+md5sums=('b9df5ea40109ef9766448a0577c798e6')
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+
+  _kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
+
+  make KDIR=/usr/src/linux-${_kernver}
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+   
+  install -Dm644 bbswitch.ko 
"${pkgdir}"/usr/lib/modules/${_extramodules}/bbswitch.ko
+  gzip "${pkgdir}/usr/lib/modules/${_extramodules}/bbswitch.ko"
  
+}

Copied: bbswitch/repos/community-testing-x86_64/bbswitch.install (from rev 
94689, bbswitch/trunk/bbswitch.install)
===
--- community-testing-x86_64/bbswitch.install   (rev 0)
+++ community-testing-x86_64/bbswitch.install   2013-07-29 09:39:08 UTC (rev 
94690)
@@ -0,0 +1,12 @@
+post_install() {
+EXTRAMODULES='extramodules-3.10-ARCH'
+depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+}
+
+post_upgrade() {
+post_install
+}
+
+post_remove() {
+post_install
+}



[arch-commits] Commit in bbswitch/repos (6 files)

2013-07-01 Thread Tobias Powalowski
Date: Tuesday, July 2, 2013 @ 07:30:43
  Author: tpowa
Revision: 93338

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  bbswitch/repos/community-staging-i686/
  bbswitch/repos/community-staging-i686/PKGBUILD
(from rev 93337, bbswitch/trunk/PKGBUILD)
  bbswitch/repos/community-staging-i686/bbswitch.install
(from rev 93337, bbswitch/trunk/bbswitch.install)
  bbswitch/repos/community-staging-x86_64/
  bbswitch/repos/community-staging-x86_64/PKGBUILD
(from rev 93337, bbswitch/trunk/PKGBUILD)
  bbswitch/repos/community-staging-x86_64/bbswitch.install
(from rev 93337, bbswitch/trunk/bbswitch.install)

---+
 community-staging-i686/PKGBUILD   |   32 
 community-staging-i686/bbswitch.install   |   12 ++
 community-staging-x86_64/PKGBUILD |   32 
 community-staging-x86_64/bbswitch.install |   12 ++
 4 files changed, 88 insertions(+)

Copied: bbswitch/repos/community-staging-i686/PKGBUILD (from rev 93337, 
bbswitch/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2013-07-02 05:30:43 UTC (rev 93338)
@@ -0,0 +1,32 @@
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: M0Rf30
+# Contributor: Samsagax 
+
+pkgname=bbswitch
+pkgver=0.7
+_extramodules=extramodules-3.10-ARCH # Don't forget to update bbswitch.install
+pkgrel=5
+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.10' 'linux<3.11')
+makedepends=('linux-headers>=3.10' 'linux-headers<3.11')
+install=bbswitch.install
+source=("https://github.com/Bumblebee-Project/bbswitch/archive/v${pkgver}.tar.gz";)
+md5sums=('b9df5ea40109ef9766448a0577c798e6')
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+
+  _kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
+
+  make KDIR=/usr/src/linux-${_kernver}
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+   
+  install -Dm644 bbswitch.ko 
"${pkgdir}"/usr/lib/modules/${_extramodules}/bbswitch.ko
+  gzip "${pkgdir}/usr/lib/modules/${_extramodules}/bbswitch.ko"
  
+}

Copied: bbswitch/repos/community-staging-i686/bbswitch.install (from rev 93337, 
bbswitch/trunk/bbswitch.install)
===
--- community-staging-i686/bbswitch.install (rev 0)
+++ community-staging-i686/bbswitch.install 2013-07-02 05:30:43 UTC (rev 
93338)
@@ -0,0 +1,12 @@
+post_install() {
+EXTRAMODULES='extramodules-3.10-ARCH'
+depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+}
+
+post_upgrade() {
+post_install
+}
+
+post_remove() {
+post_install
+}

Copied: bbswitch/repos/community-staging-x86_64/PKGBUILD (from rev 93337, 
bbswitch/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2013-07-02 05:30:43 UTC (rev 93338)
@@ -0,0 +1,32 @@
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: M0Rf30
+# Contributor: Samsagax 
+
+pkgname=bbswitch
+pkgver=0.7
+_extramodules=extramodules-3.10-ARCH # Don't forget to update bbswitch.install
+pkgrel=5
+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.10' 'linux<3.11')
+makedepends=('linux-headers>=3.10' 'linux-headers<3.11')
+install=bbswitch.install
+source=("https://github.com/Bumblebee-Project/bbswitch/archive/v${pkgver}.tar.gz";)
+md5sums=('b9df5ea40109ef9766448a0577c798e6')
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+
+  _kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
+
+  make KDIR=/usr/src/linux-${_kernver}
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+   
+  install -Dm644 bbswitch.ko 
"${pkgdir}"/usr/lib/modules/${_extramodules}/bbswitch.ko
+  gzip "${pkgdir}/usr/lib/modules/${_extramodules}/bbswitch.ko"
  
+}

Copied: bbswitch/repos/community-staging-x86_64/bbswitch.install (from rev 
93337, bbswitch/trunk/bbswitch.install)
===
--- community-staging-x86_64/bbswitch.install   (rev 0)
+++ community-staging-x86_64/bbswitch.install   2013-07-02 05:30:43 UTC (rev 
93338)
@@ -0,0 +1,12 @@
+post_install() {
+EXTRAMODULES='extramodules-3.10-ARCH'
+depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+}
+
+post_upgrade() {
+post_install
+}
+
+post_remove() {
+post_install
+}



[arch-commits] Commit in bbswitch/repos (6 files)

2013-06-28 Thread Evangelos Foutras
Date: Friday, June 28, 2013 @ 20:20:04
  Author: foutrelis
Revision: 93209

archrelease: copy trunk to community-testing-i686, community-testing-x86_64

Added:
  bbswitch/repos/community-testing-i686/
  bbswitch/repos/community-testing-i686/PKGBUILD
(from rev 93208, bbswitch/trunk/PKGBUILD)
  bbswitch/repos/community-testing-i686/bbswitch.install
(from rev 93208, bbswitch/trunk/bbswitch.install)
  bbswitch/repos/community-testing-x86_64/
  bbswitch/repos/community-testing-x86_64/PKGBUILD
(from rev 93208, bbswitch/trunk/PKGBUILD)
  bbswitch/repos/community-testing-x86_64/bbswitch.install
(from rev 93208, bbswitch/trunk/bbswitch.install)

---+
 community-testing-i686/PKGBUILD   |   32 
 community-testing-i686/bbswitch.install   |   12 ++
 community-testing-x86_64/PKGBUILD |   32 
 community-testing-x86_64/bbswitch.install |   12 ++
 4 files changed, 88 insertions(+)

Copied: bbswitch/repos/community-testing-i686/PKGBUILD (from rev 93208, 
bbswitch/trunk/PKGBUILD)
===
--- community-testing-i686/PKGBUILD (rev 0)
+++ community-testing-i686/PKGBUILD 2013-06-28 18:20:04 UTC (rev 93209)
@@ -0,0 +1,32 @@
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: M0Rf30
+# Contributor: Samsagax 
+
+pkgname=bbswitch
+pkgver=0.7
+_extramodules=extramodules-3.9-ARCH # Don't forget to update bbswitch.install
+pkgrel=4
+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.9' 'linux<3.10')
+makedepends=('linux-headers>=3.9' 'linux-headers<3.10')
+install=bbswitch.install
+source=("https://github.com/Bumblebee-Project/bbswitch/archive/v${pkgver}.tar.gz";)
+md5sums=('b9df5ea40109ef9766448a0577c798e6')
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+
+  _kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
+
+  make KDIR=/usr/src/linux-${_kernver}
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+   
+  install -Dm644 bbswitch.ko 
"${pkgdir}"/usr/lib/modules/${_extramodules}/bbswitch.ko
+  gzip "${pkgdir}/usr/lib/modules/${_extramodules}/bbswitch.ko"
  
+}

Copied: bbswitch/repos/community-testing-i686/bbswitch.install (from rev 93208, 
bbswitch/trunk/bbswitch.install)
===
--- community-testing-i686/bbswitch.install (rev 0)
+++ community-testing-i686/bbswitch.install 2013-06-28 18:20:04 UTC (rev 
93209)
@@ -0,0 +1,12 @@
+post_install() {
+EXTRAMODULES='extramodules-3.9-ARCH'
+depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+}
+
+post_upgrade() {
+post_install
+}
+
+post_remove() {
+post_install
+}

Copied: bbswitch/repos/community-testing-x86_64/PKGBUILD (from rev 93208, 
bbswitch/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2013-06-28 18:20:04 UTC (rev 93209)
@@ -0,0 +1,32 @@
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: M0Rf30
+# Contributor: Samsagax 
+
+pkgname=bbswitch
+pkgver=0.7
+_extramodules=extramodules-3.9-ARCH # Don't forget to update bbswitch.install
+pkgrel=4
+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.9' 'linux<3.10')
+makedepends=('linux-headers>=3.9' 'linux-headers<3.10')
+install=bbswitch.install
+source=("https://github.com/Bumblebee-Project/bbswitch/archive/v${pkgver}.tar.gz";)
+md5sums=('b9df5ea40109ef9766448a0577c798e6')
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+
+  _kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
+
+  make KDIR=/usr/src/linux-${_kernver}
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+   
+  install -Dm644 bbswitch.ko 
"${pkgdir}"/usr/lib/modules/${_extramodules}/bbswitch.ko
+  gzip "${pkgdir}/usr/lib/modules/${_extramodules}/bbswitch.ko"
  
+}

Copied: bbswitch/repos/community-testing-x86_64/bbswitch.install (from rev 
93208, bbswitch/trunk/bbswitch.install)
===
--- community-testing-x86_64/bbswitch.install   (rev 0)
+++ community-testing-x86_64/bbswitch.install   2013-06-28 18:20:04 UTC (rev 
93209)
@@ -0,0 +1,12 @@
+post_install() {
+EXTRAMODULES='extramodules-3.9-ARCH'
+depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+}
+
+post_upgrade() {
+post_install
+}
+
+post_remove() {
+post_install
+}



[arch-commits] Commit in bbswitch/repos (6 files)

2013-06-21 Thread Tobias Powalowski
Date: Friday, June 21, 2013 @ 10:05:47
  Author: tpowa
Revision: 92969

archrelease: copy trunk to community-testing-i686, community-testing-x86_64

Added:
  bbswitch/repos/community-testing-i686/
  bbswitch/repos/community-testing-i686/PKGBUILD
(from rev 92968, bbswitch/trunk/PKGBUILD)
  bbswitch/repos/community-testing-i686/bbswitch.install
(from rev 92968, bbswitch/trunk/bbswitch.install)
  bbswitch/repos/community-testing-x86_64/
  bbswitch/repos/community-testing-x86_64/PKGBUILD
(from rev 92968, bbswitch/trunk/PKGBUILD)
  bbswitch/repos/community-testing-x86_64/bbswitch.install
(from rev 92968, bbswitch/trunk/bbswitch.install)

---+
 community-testing-i686/PKGBUILD   |   32 
 community-testing-i686/bbswitch.install   |   12 ++
 community-testing-x86_64/PKGBUILD |   32 
 community-testing-x86_64/bbswitch.install |   12 ++
 4 files changed, 88 insertions(+)

Copied: bbswitch/repos/community-testing-i686/PKGBUILD (from rev 92968, 
bbswitch/trunk/PKGBUILD)
===
--- community-testing-i686/PKGBUILD (rev 0)
+++ community-testing-i686/PKGBUILD 2013-06-21 08:05:47 UTC (rev 92969)
@@ -0,0 +1,32 @@
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: M0Rf30
+# Contributor: Samsagax 
+
+pkgname=bbswitch
+pkgver=0.7
+_extramodules=extramodules-3.9-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.9' 'linux<3.10')
+makedepends=('linux-headers>=3.9' 'linux-headers<3.10')
+install=bbswitch.install
+source=("https://github.com/Bumblebee-Project/bbswitch/archive/v${pkgver}.tar.gz";)
+md5sums=('b9df5ea40109ef9766448a0577c798e6')
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+
+  _kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
+   
+  make KDIR=/usr/src/linux-${_kernver}
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+   
+  install -Dm644 bbswitch.ko 
"${pkgdir}"/usr/lib/modules/${_extramodules}/bbswitch.ko
+  gzip "${pkgdir}/usr/lib/modules/${_extramodules}/bbswitch.ko"
  
+}

Copied: bbswitch/repos/community-testing-i686/bbswitch.install (from rev 92968, 
bbswitch/trunk/bbswitch.install)
===
--- community-testing-i686/bbswitch.install (rev 0)
+++ community-testing-i686/bbswitch.install 2013-06-21 08:05:47 UTC (rev 
92969)
@@ -0,0 +1,12 @@
+post_install() {
+EXTRAMODULES='extramodules-3.9-ARCH'
+depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+}
+
+post_upgrade() {
+post_install
+}
+
+post_remove() {
+post_install
+}

Copied: bbswitch/repos/community-testing-x86_64/PKGBUILD (from rev 92968, 
bbswitch/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2013-06-21 08:05:47 UTC (rev 92969)
@@ -0,0 +1,32 @@
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: M0Rf30
+# Contributor: Samsagax 
+
+pkgname=bbswitch
+pkgver=0.7
+_extramodules=extramodules-3.9-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.9' 'linux<3.10')
+makedepends=('linux-headers>=3.9' 'linux-headers<3.10')
+install=bbswitch.install
+source=("https://github.com/Bumblebee-Project/bbswitch/archive/v${pkgver}.tar.gz";)
+md5sums=('b9df5ea40109ef9766448a0577c798e6')
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+
+  _kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
+   
+  make KDIR=/usr/src/linux-${_kernver}
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+   
+  install -Dm644 bbswitch.ko 
"${pkgdir}"/usr/lib/modules/${_extramodules}/bbswitch.ko
+  gzip "${pkgdir}/usr/lib/modules/${_extramodules}/bbswitch.ko"
  
+}

Copied: bbswitch/repos/community-testing-x86_64/bbswitch.install (from rev 
92968, bbswitch/trunk/bbswitch.install)
===
--- community-testing-x86_64/bbswitch.install   (rev 0)
+++ community-testing-x86_64/bbswitch.install   2013-06-21 08:05:47 UTC (rev 
92969)
@@ -0,0 +1,12 @@
+post_install() {
+EXTRAMODULES='extramodules-3.9-ARCH'
+depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+}
+
+post_upgrade() {
+post_install
+}
+
+post_remove() {
+post_install
+}



[arch-commits] Commit in bbswitch/repos (6 files)

2013-06-14 Thread Tobias Powalowski
Date: Friday, June 14, 2013 @ 14:09:25
  Author: tpowa
Revision: 92741

archrelease: copy trunk to community-testing-i686, community-testing-x86_64

Added:
  bbswitch/repos/community-testing-i686/
  bbswitch/repos/community-testing-i686/PKGBUILD
(from rev 92740, bbswitch/trunk/PKGBUILD)
  bbswitch/repos/community-testing-i686/bbswitch.install
(from rev 92740, bbswitch/trunk/bbswitch.install)
  bbswitch/repos/community-testing-x86_64/
  bbswitch/repos/community-testing-x86_64/PKGBUILD
(from rev 92740, bbswitch/trunk/PKGBUILD)
  bbswitch/repos/community-testing-x86_64/bbswitch.install
(from rev 92740, bbswitch/trunk/bbswitch.install)

---+
 community-testing-i686/PKGBUILD   |   32 
 community-testing-i686/bbswitch.install   |   12 ++
 community-testing-x86_64/PKGBUILD |   32 
 community-testing-x86_64/bbswitch.install |   12 ++
 4 files changed, 88 insertions(+)

Copied: bbswitch/repos/community-testing-i686/PKGBUILD (from rev 92740, 
bbswitch/trunk/PKGBUILD)
===
--- community-testing-i686/PKGBUILD (rev 0)
+++ community-testing-i686/PKGBUILD 2013-06-14 12:09:25 UTC (rev 92741)
@@ -0,0 +1,32 @@
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: M0Rf30
+# Contributor: Samsagax 
+
+pkgname=bbswitch
+pkgver=0.7
+_extramodules=extramodules-3.9-ARCH # Don't forget to update bbswitch.install
+pkgrel=2
+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.9' 'linux<3.10')
+makedepends=('linux-headers>=3.9' 'linux-headers<3.10')
+install=bbswitch.install
+source=("https://github.com/Bumblebee-Project/bbswitch/archive/v${pkgver}.tar.gz";)
+md5sums=('b9df5ea40109ef9766448a0577c798e6')
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+
+  _kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
+   
+  make KDIR=/usr/src/linux-${_kernver}
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+   
+  install -Dm644 bbswitch.ko 
"${pkgdir}"/usr/lib/modules/${_extramodules}/bbswitch.ko
+  gzip "${pkgdir}/usr/lib/modules/${_extramodules}/bbswitch.ko"
  
+}

Copied: bbswitch/repos/community-testing-i686/bbswitch.install (from rev 92740, 
bbswitch/trunk/bbswitch.install)
===
--- community-testing-i686/bbswitch.install (rev 0)
+++ community-testing-i686/bbswitch.install 2013-06-14 12:09:25 UTC (rev 
92741)
@@ -0,0 +1,12 @@
+post_install() {
+EXTRAMODULES='extramodules-3.9-ARCH'
+depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+}
+
+post_upgrade() {
+post_install
+}
+
+post_remove() {
+post_install
+}

Copied: bbswitch/repos/community-testing-x86_64/PKGBUILD (from rev 92740, 
bbswitch/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2013-06-14 12:09:25 UTC (rev 92741)
@@ -0,0 +1,32 @@
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: M0Rf30
+# Contributor: Samsagax 
+
+pkgname=bbswitch
+pkgver=0.7
+_extramodules=extramodules-3.9-ARCH # Don't forget to update bbswitch.install
+pkgrel=2
+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.9' 'linux<3.10')
+makedepends=('linux-headers>=3.9' 'linux-headers<3.10')
+install=bbswitch.install
+source=("https://github.com/Bumblebee-Project/bbswitch/archive/v${pkgver}.tar.gz";)
+md5sums=('b9df5ea40109ef9766448a0577c798e6')
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+
+  _kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
+   
+  make KDIR=/usr/src/linux-${_kernver}
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+   
+  install -Dm644 bbswitch.ko 
"${pkgdir}"/usr/lib/modules/${_extramodules}/bbswitch.ko
+  gzip "${pkgdir}/usr/lib/modules/${_extramodules}/bbswitch.ko"
  
+}

Copied: bbswitch/repos/community-testing-x86_64/bbswitch.install (from rev 
92740, bbswitch/trunk/bbswitch.install)
===
--- community-testing-x86_64/bbswitch.install   (rev 0)
+++ community-testing-x86_64/bbswitch.install   2013-06-14 12:09:25 UTC (rev 
92741)
@@ -0,0 +1,12 @@
+post_install() {
+EXTRAMODULES='extramodules-3.9-ARCH'
+depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+}
+
+post_upgrade() {
+post_install
+}
+
+post_remove() {
+post_install
+}



[arch-commits] Commit in bbswitch/repos (6 files)

2013-05-26 Thread Tobias Powalowski
Date: Sunday, May 26, 2013 @ 17:39:36
  Author: tpowa
Revision: 91713

archrelease: copy trunk to community-testing-i686, community-testing-x86_64

Added:
  bbswitch/repos/community-testing-i686/
  bbswitch/repos/community-testing-i686/PKGBUILD
(from rev 91712, bbswitch/trunk/PKGBUILD)
  bbswitch/repos/community-testing-i686/bbswitch.install
(from rev 91712, bbswitch/trunk/bbswitch.install)
  bbswitch/repos/community-testing-x86_64/
  bbswitch/repos/community-testing-x86_64/PKGBUILD
(from rev 91712, bbswitch/trunk/PKGBUILD)
  bbswitch/repos/community-testing-x86_64/bbswitch.install
(from rev 91712, bbswitch/trunk/bbswitch.install)

---+
 community-testing-i686/PKGBUILD   |   32 
 community-testing-i686/bbswitch.install   |   12 ++
 community-testing-x86_64/PKGBUILD |   32 
 community-testing-x86_64/bbswitch.install |   12 ++
 4 files changed, 88 insertions(+)

Copied: bbswitch/repos/community-testing-i686/PKGBUILD (from rev 91712, 
bbswitch/trunk/PKGBUILD)
===
--- community-testing-i686/PKGBUILD (rev 0)
+++ community-testing-i686/PKGBUILD 2013-05-26 15:39:36 UTC (rev 91713)
@@ -0,0 +1,32 @@
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: M0Rf30
+# Contributor: Samsagax 
+
+pkgname=bbswitch
+pkgver=0.6
+_extramodules=extramodules-3.9-ARCH # Don't forget to update bbswitch.install
+pkgrel=8
+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.9' 'linux<3.10')
+makedepends=('linux-headers>=3.9' 'linux-headers<3.10')
+install=bbswitch.install
+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)"
+   
+  make KDIR=/usr/src/linux-${_kernver}
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+   
+  install -Dm644 bbswitch.ko 
"${pkgdir}"/usr/lib/modules/${_extramodules}/bbswitch.ko
+  gzip "${pkgdir}/usr/lib/modules/${_extramodules}/bbswitch.ko"
  
+}

Copied: bbswitch/repos/community-testing-i686/bbswitch.install (from rev 91712, 
bbswitch/trunk/bbswitch.install)
===
--- community-testing-i686/bbswitch.install (rev 0)
+++ community-testing-i686/bbswitch.install 2013-05-26 15:39:36 UTC (rev 
91713)
@@ -0,0 +1,12 @@
+post_install() {
+EXTRAMODULES='extramodules-3.9-ARCH'
+depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+}
+
+post_upgrade() {
+post_install
+}
+
+post_remove() {
+post_install
+}

Copied: bbswitch/repos/community-testing-x86_64/PKGBUILD (from rev 91712, 
bbswitch/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2013-05-26 15:39:36 UTC (rev 91713)
@@ -0,0 +1,32 @@
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: M0Rf30
+# Contributor: Samsagax 
+
+pkgname=bbswitch
+pkgver=0.6
+_extramodules=extramodules-3.9-ARCH # Don't forget to update bbswitch.install
+pkgrel=8
+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.9' 'linux<3.10')
+makedepends=('linux-headers>=3.9' 'linux-headers<3.10')
+install=bbswitch.install
+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)"
+   
+  make KDIR=/usr/src/linux-${_kernver}
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+   
+  install -Dm644 bbswitch.ko 
"${pkgdir}"/usr/lib/modules/${_extramodules}/bbswitch.ko
+  gzip "${pkgdir}/usr/lib/modules/${_extramodules}/bbswitch.ko"
  
+}

Copied: bbswitch/repos/community-testing-x86_64/bbswitch.install (from rev 
91712, bbswitch/trunk/bbswitch.install)
===
--- community-testing-x86_64/bbswitch.install   (rev 0)
+++ community-testing-x86_64/bbswitch.install   2013-05-26 15:39:36 UTC (rev 
91713)
@@ -0,0 +1,12 @@
+post_install() {
+EXTRAMODULES='extramodules-3.9-ARCH'
+depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+}
+
+post_upgrade() {
+post_install
+}
+
+post_remove() {
+post_install
+}



[arch-commits] Commit in bbswitch/repos (6 files)

2013-04-29 Thread Tobias Powalowski
Date: Tuesday, April 30, 2013 @ 08:41:24
  Author: tpowa
Revision: 89568

archrelease: copy trunk to community-testing-i686, community-testing-x86_64

Added:
  bbswitch/repos/community-testing-i686/
  bbswitch/repos/community-testing-i686/PKGBUILD
(from rev 89567, bbswitch/trunk/PKGBUILD)
  bbswitch/repos/community-testing-i686/bbswitch.install
(from rev 89567, bbswitch/trunk/bbswitch.install)
  bbswitch/repos/community-testing-x86_64/
  bbswitch/repos/community-testing-x86_64/PKGBUILD
(from rev 89567, bbswitch/trunk/PKGBUILD)
  bbswitch/repos/community-testing-x86_64/bbswitch.install
(from rev 89567, bbswitch/trunk/bbswitch.install)

---+
 community-testing-i686/PKGBUILD   |   32 
 community-testing-i686/bbswitch.install   |   12 ++
 community-testing-x86_64/PKGBUILD |   32 
 community-testing-x86_64/bbswitch.install |   12 ++
 4 files changed, 88 insertions(+)

Copied: bbswitch/repos/community-testing-i686/PKGBUILD (from rev 89567, 
bbswitch/trunk/PKGBUILD)
===
--- community-testing-i686/PKGBUILD (rev 0)
+++ community-testing-i686/PKGBUILD 2013-04-30 06:41:24 UTC (rev 89568)
@@ -0,0 +1,32 @@
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: M0Rf30
+# Contributor: Samsagax 
+
+pkgname=bbswitch
+pkgver=0.6
+_extramodules=extramodules-3.9-ARCH # Don't forget to update bbswitch.install
+pkgrel=6
+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.9' 'linux<3.10')
+makedepends=('linux-headers>=3.9' 'linux-headers<3.10')
+install=bbswitch.install
+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)"
+   
+  make KDIR=/usr/src/linux-${_kernver}
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+   
+  install -Dm644 bbswitch.ko 
"${pkgdir}"/usr/lib/modules/${_extramodules}/bbswitch.ko
+  gzip "${pkgdir}/usr/lib/modules/${_extramodules}/bbswitch.ko"
  
+}

Copied: bbswitch/repos/community-testing-i686/bbswitch.install (from rev 89567, 
bbswitch/trunk/bbswitch.install)
===
--- community-testing-i686/bbswitch.install (rev 0)
+++ community-testing-i686/bbswitch.install 2013-04-30 06:41:24 UTC (rev 
89568)
@@ -0,0 +1,12 @@
+post_install() {
+EXTRAMODULES='extramodules-3.9-ARCH'
+depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+}
+
+post_upgrade() {
+post_install
+}
+
+post_remove() {
+post_install
+}

Copied: bbswitch/repos/community-testing-x86_64/PKGBUILD (from rev 89567, 
bbswitch/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2013-04-30 06:41:24 UTC (rev 89568)
@@ -0,0 +1,32 @@
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: M0Rf30
+# Contributor: Samsagax 
+
+pkgname=bbswitch
+pkgver=0.6
+_extramodules=extramodules-3.9-ARCH # Don't forget to update bbswitch.install
+pkgrel=6
+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.9' 'linux<3.10')
+makedepends=('linux-headers>=3.9' 'linux-headers<3.10')
+install=bbswitch.install
+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)"
+   
+  make KDIR=/usr/src/linux-${_kernver}
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+   
+  install -Dm644 bbswitch.ko 
"${pkgdir}"/usr/lib/modules/${_extramodules}/bbswitch.ko
+  gzip "${pkgdir}/usr/lib/modules/${_extramodules}/bbswitch.ko"
  
+}

Copied: bbswitch/repos/community-testing-x86_64/bbswitch.install (from rev 
89567, bbswitch/trunk/bbswitch.install)
===
--- community-testing-x86_64/bbswitch.install   (rev 0)
+++ community-testing-x86_64/bbswitch.install   2013-04-30 06:41:24 UTC (rev 
89568)
@@ -0,0 +1,12 @@
+post_install() {
+EXTRAMODULES='extramodules-3.9-ARCH'
+depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+}
+
+post_upgrade() {
+post_install
+}
+
+post_remove() {
+post_install
+}



[arch-commits] Commit in bbswitch/repos (6 files)

2013-04-27 Thread Tobias Powalowski
Date: Saturday, April 27, 2013 @ 13:22:02
  Author: tpowa
Revision: 89144

archrelease: copy trunk to community-testing-i686, community-testing-x86_64

Added:
  bbswitch/repos/community-testing-i686/
  bbswitch/repos/community-testing-i686/PKGBUILD
(from rev 89143, bbswitch/trunk/PKGBUILD)
  bbswitch/repos/community-testing-i686/bbswitch.install
(from rev 89143, bbswitch/trunk/bbswitch.install)
  bbswitch/repos/community-testing-x86_64/
  bbswitch/repos/community-testing-x86_64/PKGBUILD
(from rev 89143, bbswitch/trunk/PKGBUILD)
  bbswitch/repos/community-testing-x86_64/bbswitch.install
(from rev 89143, bbswitch/trunk/bbswitch.install)

---+
 community-testing-i686/PKGBUILD   |   32 
 community-testing-i686/bbswitch.install   |   12 ++
 community-testing-x86_64/PKGBUILD |   32 
 community-testing-x86_64/bbswitch.install |   12 ++
 4 files changed, 88 insertions(+)

Copied: bbswitch/repos/community-testing-i686/PKGBUILD (from rev 89143, 
bbswitch/trunk/PKGBUILD)
===
--- community-testing-i686/PKGBUILD (rev 0)
+++ community-testing-i686/PKGBUILD 2013-04-27 11:22:02 UTC (rev 89144)
@@ -0,0 +1,32 @@
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: M0Rf30
+# Contributor: Samsagax 
+
+pkgname=bbswitch
+pkgver=0.6
+_extramodules=extramodules-3.8-ARCH # Don't forget to update bbswitch.install
+pkgrel=5
+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.8' 'linux<3.9')
+makedepends=('linux-headers>=3.8' 'linux-headers<3.9')
+install=bbswitch.install
+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)"
+   
+  make KDIR=/usr/src/linux-${_kernver}
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+   
+  install -Dm644 bbswitch.ko 
"${pkgdir}"/usr/lib/modules/${_extramodules}/bbswitch.ko
+  gzip "${pkgdir}/usr/lib/modules/${_extramodules}/bbswitch.ko"
  
+}

Copied: bbswitch/repos/community-testing-i686/bbswitch.install (from rev 89143, 
bbswitch/trunk/bbswitch.install)
===
--- community-testing-i686/bbswitch.install (rev 0)
+++ community-testing-i686/bbswitch.install 2013-04-27 11:22:02 UTC (rev 
89144)
@@ -0,0 +1,12 @@
+post_install() {
+EXTRAMODULES='extramodules-3.8-ARCH'
+depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+}
+
+post_upgrade() {
+post_install
+}
+
+post_remove() {
+post_install
+}

Copied: bbswitch/repos/community-testing-x86_64/PKGBUILD (from rev 89143, 
bbswitch/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2013-04-27 11:22:02 UTC (rev 89144)
@@ -0,0 +1,32 @@
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: M0Rf30
+# Contributor: Samsagax 
+
+pkgname=bbswitch
+pkgver=0.6
+_extramodules=extramodules-3.8-ARCH # Don't forget to update bbswitch.install
+pkgrel=5
+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.8' 'linux<3.9')
+makedepends=('linux-headers>=3.8' 'linux-headers<3.9')
+install=bbswitch.install
+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)"
+   
+  make KDIR=/usr/src/linux-${_kernver}
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+   
+  install -Dm644 bbswitch.ko 
"${pkgdir}"/usr/lib/modules/${_extramodules}/bbswitch.ko
+  gzip "${pkgdir}/usr/lib/modules/${_extramodules}/bbswitch.ko"
  
+}

Copied: bbswitch/repos/community-testing-x86_64/bbswitch.install (from rev 
89143, bbswitch/trunk/bbswitch.install)
===
--- community-testing-x86_64/bbswitch.install   (rev 0)
+++ community-testing-x86_64/bbswitch.install   2013-04-27 11:22:02 UTC (rev 
89144)
@@ -0,0 +1,12 @@
+post_install() {
+EXTRAMODULES='extramodules-3.8-ARCH'
+depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+}
+
+post_upgrade() {
+post_install
+}
+
+post_remove() {
+post_install
+}



[arch-commits] Commit in bbswitch/repos (6 files)

2013-04-22 Thread Tobias Powalowski
Date: Monday, April 22, 2013 @ 11:24:47
  Author: tpowa
Revision: 88738

archrelease: copy trunk to community-testing-i686, community-testing-x86_64

Added:
  bbswitch/repos/community-testing-i686/
  bbswitch/repos/community-testing-i686/PKGBUILD
(from rev 88737, bbswitch/trunk/PKGBUILD)
  bbswitch/repos/community-testing-i686/bbswitch.install
(from rev 88737, bbswitch/trunk/bbswitch.install)
  bbswitch/repos/community-testing-x86_64/
  bbswitch/repos/community-testing-x86_64/PKGBUILD
(from rev 88737, bbswitch/trunk/PKGBUILD)
  bbswitch/repos/community-testing-x86_64/bbswitch.install
(from rev 88737, bbswitch/trunk/bbswitch.install)

---+
 community-testing-i686/PKGBUILD   |   32 
 community-testing-i686/bbswitch.install   |   12 ++
 community-testing-x86_64/PKGBUILD |   32 
 community-testing-x86_64/bbswitch.install |   12 ++
 4 files changed, 88 insertions(+)

Copied: bbswitch/repos/community-testing-i686/PKGBUILD (from rev 88737, 
bbswitch/trunk/PKGBUILD)
===
--- community-testing-i686/PKGBUILD (rev 0)
+++ community-testing-i686/PKGBUILD 2013-04-22 09:24:47 UTC (rev 88738)
@@ -0,0 +1,32 @@
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: M0Rf30
+# Contributor: Samsagax 
+
+pkgname=bbswitch
+pkgver=0.6
+_extramodules=extramodules-3.8-ARCH # Don't forget to update bbswitch.install
+pkgrel=4
+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.8' 'linux<3.9')
+makedepends=('linux-headers>=3.8' 'linux-headers<3.9')
+install=bbswitch.install
+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)"
+   
+  make KDIR=/usr/src/linux-${_kernver}
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+   
+  install -Dm644 bbswitch.ko 
"${pkgdir}"/usr/lib/modules/${_extramodules}/bbswitch.ko
+  gzip "${pkgdir}/usr/lib/modules/${_extramodules}/bbswitch.ko"
  
+}

Copied: bbswitch/repos/community-testing-i686/bbswitch.install (from rev 88737, 
bbswitch/trunk/bbswitch.install)
===
--- community-testing-i686/bbswitch.install (rev 0)
+++ community-testing-i686/bbswitch.install 2013-04-22 09:24:47 UTC (rev 
88738)
@@ -0,0 +1,12 @@
+post_install() {
+EXTRAMODULES='extramodules-3.8-ARCH'
+depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+}
+
+post_upgrade() {
+post_install
+}
+
+post_remove() {
+post_install
+}

Copied: bbswitch/repos/community-testing-x86_64/PKGBUILD (from rev 88737, 
bbswitch/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2013-04-22 09:24:47 UTC (rev 88738)
@@ -0,0 +1,32 @@
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: M0Rf30
+# Contributor: Samsagax 
+
+pkgname=bbswitch
+pkgver=0.6
+_extramodules=extramodules-3.8-ARCH # Don't forget to update bbswitch.install
+pkgrel=4
+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.8' 'linux<3.9')
+makedepends=('linux-headers>=3.8' 'linux-headers<3.9')
+install=bbswitch.install
+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)"
+   
+  make KDIR=/usr/src/linux-${_kernver}
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+   
+  install -Dm644 bbswitch.ko 
"${pkgdir}"/usr/lib/modules/${_extramodules}/bbswitch.ko
+  gzip "${pkgdir}/usr/lib/modules/${_extramodules}/bbswitch.ko"
  
+}

Copied: bbswitch/repos/community-testing-x86_64/bbswitch.install (from rev 
88737, bbswitch/trunk/bbswitch.install)
===
--- community-testing-x86_64/bbswitch.install   (rev 0)
+++ community-testing-x86_64/bbswitch.install   2013-04-22 09:24:47 UTC (rev 
88738)
@@ -0,0 +1,12 @@
+post_install() {
+EXTRAMODULES='extramodules-3.8-ARCH'
+depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+}
+
+post_upgrade() {
+post_install
+}
+
+post_remove() {
+post_install
+}



[arch-commits] Commit in bbswitch/repos (6 files)

2013-04-06 Thread Tobias Powalowski
Date: Saturday, April 6, 2013 @ 11:39:38
  Author: tpowa
Revision: 87770

archrelease: copy trunk to community-testing-i686, community-testing-x86_64

Added:
  bbswitch/repos/community-testing-i686/
  bbswitch/repos/community-testing-i686/PKGBUILD
(from rev 87769, bbswitch/trunk/PKGBUILD)
  bbswitch/repos/community-testing-i686/bbswitch.install
(from rev 87769, bbswitch/trunk/bbswitch.install)
  bbswitch/repos/community-testing-x86_64/
  bbswitch/repos/community-testing-x86_64/PKGBUILD
(from rev 87769, bbswitch/trunk/PKGBUILD)
  bbswitch/repos/community-testing-x86_64/bbswitch.install
(from rev 87769, bbswitch/trunk/bbswitch.install)

---+
 community-testing-i686/PKGBUILD   |   32 
 community-testing-i686/bbswitch.install   |   12 ++
 community-testing-x86_64/PKGBUILD |   32 
 community-testing-x86_64/bbswitch.install |   12 ++
 4 files changed, 88 insertions(+)

Copied: bbswitch/repos/community-testing-i686/PKGBUILD (from rev 87769, 
bbswitch/trunk/PKGBUILD)
===
--- community-testing-i686/PKGBUILD (rev 0)
+++ community-testing-i686/PKGBUILD 2013-04-06 09:39:38 UTC (rev 87770)
@@ -0,0 +1,32 @@
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: M0Rf30
+# Contributor: Samsagax 
+
+pkgname=bbswitch
+pkgver=0.6
+_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.8' 'linux<3.9')
+makedepends=('linux-headers>=3.8' 'linux-headers<3.9')
+install=bbswitch.install
+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)"
+   
+  make KDIR=/usr/src/linux-${_kernver}
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+   
+  install -Dm644 bbswitch.ko 
"${pkgdir}"/usr/lib/modules/${_extramodules}/bbswitch.ko
+  gzip "${pkgdir}/usr/lib/modules/${_extramodules}/bbswitch.ko"
  
+}

Copied: bbswitch/repos/community-testing-i686/bbswitch.install (from rev 87769, 
bbswitch/trunk/bbswitch.install)
===
--- community-testing-i686/bbswitch.install (rev 0)
+++ community-testing-i686/bbswitch.install 2013-04-06 09:39:38 UTC (rev 
87770)
@@ -0,0 +1,12 @@
+post_install() {
+EXTRAMODULES='extramodules-3.8-ARCH'
+depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+}
+
+post_upgrade() {
+post_install
+}
+
+post_remove() {
+post_install
+}

Copied: bbswitch/repos/community-testing-x86_64/PKGBUILD (from rev 87769, 
bbswitch/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2013-04-06 09:39:38 UTC (rev 87770)
@@ -0,0 +1,32 @@
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: M0Rf30
+# Contributor: Samsagax 
+
+pkgname=bbswitch
+pkgver=0.6
+_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.8' 'linux<3.9')
+makedepends=('linux-headers>=3.8' 'linux-headers<3.9')
+install=bbswitch.install
+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)"
+   
+  make KDIR=/usr/src/linux-${_kernver}
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+   
+  install -Dm644 bbswitch.ko 
"${pkgdir}"/usr/lib/modules/${_extramodules}/bbswitch.ko
+  gzip "${pkgdir}/usr/lib/modules/${_extramodules}/bbswitch.ko"
  
+}

Copied: bbswitch/repos/community-testing-x86_64/bbswitch.install (from rev 
87769, bbswitch/trunk/bbswitch.install)
===
--- community-testing-x86_64/bbswitch.install   (rev 0)
+++ community-testing-x86_64/bbswitch.install   2013-04-06 09:39:38 UTC (rev 
87770)
@@ -0,0 +1,12 @@
+post_install() {
+EXTRAMODULES='extramodules-3.8-ARCH'
+depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+}
+
+post_upgrade() {
+post_install
+}
+
+post_remove() {
+post_install
+}



[arch-commits] Commit in bbswitch/repos (6 files)

2013-03-30 Thread Evangelos Foutras
Date: Saturday, March 30, 2013 @ 11:44:20
  Author: foutrelis
Revision: 87355

archrelease: copy trunk to community-testing-i686, community-testing-x86_64

Added:
  bbswitch/repos/community-testing-i686/
  bbswitch/repos/community-testing-i686/PKGBUILD
(from rev 87354, bbswitch/trunk/PKGBUILD)
  bbswitch/repos/community-testing-i686/bbswitch.install
(from rev 87354, bbswitch/trunk/bbswitch.install)
  bbswitch/repos/community-testing-x86_64/
  bbswitch/repos/community-testing-x86_64/PKGBUILD
(from rev 87354, bbswitch/trunk/PKGBUILD)
  bbswitch/repos/community-testing-x86_64/bbswitch.install
(from rev 87354, bbswitch/trunk/bbswitch.install)

---+
 community-testing-i686/PKGBUILD   |   32 
 community-testing-i686/bbswitch.install   |   12 ++
 community-testing-x86_64/PKGBUILD |   32 
 community-testing-x86_64/bbswitch.install |   12 ++
 4 files changed, 88 insertions(+)

Copied: bbswitch/repos/community-testing-i686/PKGBUILD (from rev 87354, 
bbswitch/trunk/PKGBUILD)
===
--- community-testing-i686/PKGBUILD (rev 0)
+++ community-testing-i686/PKGBUILD 2013-03-30 10:44:20 UTC (rev 87355)
@@ -0,0 +1,32 @@
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: M0Rf30
+# Contributor: Samsagax 
+
+pkgname=bbswitch
+pkgver=0.6
+_extramodules=extramodules-3.8-ARCH # Don't forget to update bbswitch.install
+pkgrel=2
+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.8' 'linux<3.9')
+makedepends=('linux-headers>=3.8' 'linux-headers<3.9')
+install=bbswitch.install
+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)"
+   
+  make KDIR=/usr/src/linux-${_kernver}
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+   
+  install -Dm644 bbswitch.ko 
"${pkgdir}"/usr/lib/modules/${_extramodules}/bbswitch.ko
+  gzip "${pkgdir}/usr/lib/modules/${_extramodules}/bbswitch.ko"
  
+}

Copied: bbswitch/repos/community-testing-i686/bbswitch.install (from rev 87354, 
bbswitch/trunk/bbswitch.install)
===
--- community-testing-i686/bbswitch.install (rev 0)
+++ community-testing-i686/bbswitch.install 2013-03-30 10:44:20 UTC (rev 
87355)
@@ -0,0 +1,12 @@
+post_install() {
+EXTRAMODULES='extramodules-3.8-ARCH'
+depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+}
+
+post_upgrade() {
+post_install
+}
+
+post_remove() {
+post_install
+}

Copied: bbswitch/repos/community-testing-x86_64/PKGBUILD (from rev 87354, 
bbswitch/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2013-03-30 10:44:20 UTC (rev 87355)
@@ -0,0 +1,32 @@
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: M0Rf30
+# Contributor: Samsagax 
+
+pkgname=bbswitch
+pkgver=0.6
+_extramodules=extramodules-3.8-ARCH # Don't forget to update bbswitch.install
+pkgrel=2
+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.8' 'linux<3.9')
+makedepends=('linux-headers>=3.8' 'linux-headers<3.9')
+install=bbswitch.install
+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)"
+   
+  make KDIR=/usr/src/linux-${_kernver}
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+   
+  install -Dm644 bbswitch.ko 
"${pkgdir}"/usr/lib/modules/${_extramodules}/bbswitch.ko
+  gzip "${pkgdir}/usr/lib/modules/${_extramodules}/bbswitch.ko"
  
+}

Copied: bbswitch/repos/community-testing-x86_64/bbswitch.install (from rev 
87354, bbswitch/trunk/bbswitch.install)
===
--- community-testing-x86_64/bbswitch.install   (rev 0)
+++ community-testing-x86_64/bbswitch.install   2013-03-30 10:44:20 UTC (rev 
87355)
@@ -0,0 +1,12 @@
+post_install() {
+EXTRAMODULES='extramodules-3.8-ARCH'
+depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+}
+
+post_upgrade() {
+post_install
+}
+
+post_remove() {
+post_install
+}



[arch-commits] Commit in bbswitch/repos (6 files)

2013-03-16 Thread Sven-Hendrik Haase
Date: Sunday, March 17, 2013 @ 04:44:00
  Author: svenstaro
Revision: 86441

archrelease: copy trunk to community-testing-i686, community-testing-x86_64

Added:
  bbswitch/repos/community-testing-i686/
  bbswitch/repos/community-testing-i686/PKGBUILD
(from rev 86440, bbswitch/trunk/PKGBUILD)
  bbswitch/repos/community-testing-i686/bbswitch.install
(from rev 86440, bbswitch/trunk/bbswitch.install)
  bbswitch/repos/community-testing-x86_64/
  bbswitch/repos/community-testing-x86_64/PKGBUILD
(from rev 86440, bbswitch/trunk/PKGBUILD)
  bbswitch/repos/community-testing-x86_64/bbswitch.install
(from rev 86440, bbswitch/trunk/bbswitch.install)

---+
 community-testing-i686/PKGBUILD   |   35 
 community-testing-i686/bbswitch.install   |   12 +
 community-testing-x86_64/PKGBUILD |   35 
 community-testing-x86_64/bbswitch.install |   12 +
 4 files changed, 94 insertions(+)

Copied: bbswitch/repos/community-testing-i686/PKGBUILD (from rev 86440, 
bbswitch/trunk/PKGBUILD)
===
--- community-testing-i686/PKGBUILD (rev 0)
+++ community-testing-i686/PKGBUILD 2013-03-17 03:44:00 UTC (rev 86441)
@@ -0,0 +1,35 @@
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: M0Rf30
+# Contributor: Samsagax 
+
+pkgname=bbswitch
+pkgver=0.5
+_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.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')
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+
+  _kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
+   
+  patch -Np1 < ${srcdir}/5593d9519364dc7f6f28c3dd8358afb907f39c0f.patch
+  make KDIR=/usr/src/linux-${_kernver}
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+   
+  install -Dm644 bbswitch.ko 
"${pkgdir}"/usr/lib/modules/${_extramodules}/bbswitch.ko
+  gzip "${pkgdir}/usr/lib/modules/${_extramodules}/bbswitch.ko"
  
+}

Copied: bbswitch/repos/community-testing-i686/bbswitch.install (from rev 86440, 
bbswitch/trunk/bbswitch.install)
===
--- community-testing-i686/bbswitch.install (rev 0)
+++ community-testing-i686/bbswitch.install 2013-03-17 03:44:00 UTC (rev 
86441)
@@ -0,0 +1,12 @@
+post_install() {
+EXTRAMODULES='extramodules-3.8-ARCH'
+depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+}
+
+post_upgrade() {
+post_install
+}
+
+post_remove() {
+post_install
+}

Copied: bbswitch/repos/community-testing-x86_64/PKGBUILD (from rev 86440, 
bbswitch/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2013-03-17 03:44:00 UTC (rev 86441)
@@ -0,0 +1,35 @@
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: M0Rf30
+# Contributor: Samsagax 
+
+pkgname=bbswitch
+pkgver=0.5
+_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.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')
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+
+  _kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
+   
+  patch -Np1 < ${srcdir}/5593d9519364dc7f6f28c3dd8358afb907f39c0f.patch
+  make KDIR=/usr/src/linux-${_kernver}
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+   
+  install -Dm644 bbswitch.ko 
"${pkgdir}"/usr/lib/modules/${_extramodules}/bbswitch.ko
+  gzip "${pkgdir}/usr/lib/modules/${_extramodules}/bbswitch.ko"
  
+}

Copied: bbswitch/repos/community-testing-x86_64/bbswitch.install (from rev 
86440, bbswitch/trunk/bbswitch.install)
=

[arch-commits] Commit in bbswitch/repos (6 files)

2013-03-16 Thread Sven-Hendrik Haase
Date: Sunday, March 17, 2013 @ 04:30:15
  Author: svenstaro
Revision: 86438

archrelease: copy trunk to community-i686, community-x86_64

Added:
  bbswitch/repos/community-i686/
  bbswitch/repos/community-i686/PKGBUILD
(from rev 86437, bbswitch/trunk/PKGBUILD)
  bbswitch/repos/community-i686/bbswitch.install
(from rev 86437, bbswitch/trunk/bbswitch.install)
  bbswitch/repos/community-x86_64/
  bbswitch/repos/community-x86_64/PKGBUILD
(from rev 86437, bbswitch/trunk/PKGBUILD)
  bbswitch/repos/community-x86_64/bbswitch.install
(from rev 86437, bbswitch/trunk/bbswitch.install)

---+
 community-i686/PKGBUILD   |   32 
 community-i686/bbswitch.install   |   12 
 community-x86_64/PKGBUILD |   32 
 community-x86_64/bbswitch.install |   12 
 4 files changed, 88 insertions(+)

Copied: bbswitch/repos/community-i686/PKGBUILD (from rev 86437, 
bbswitch/trunk/PKGBUILD)
===
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2013-03-17 03:30:15 UTC (rev 86438)
@@ -0,0 +1,32 @@
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: M0Rf30
+# Contributor: Samsagax 
+
+pkgname=bbswitch
+pkgver=0.5
+_extramodules=extramodules-3.7-ARCH # Don't forget to update bbswitch.install
+pkgrel=2
+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')
+install=bbswitch.install
+source=("https://github.com/downloads/Bumblebee-Project/bbswitch/${pkgname}-${pkgver}.tar.gz";)
+md5sums=('5e0e6eb9c5e8c10db56e5b349b43bba7')
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+
+  _kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
+   
+  make KDIR=/usr/src/linux-${_kernver}
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+   
+  install -Dm644 bbswitch.ko 
"${pkgdir}"/usr/lib/modules/${_extramodules}/bbswitch.ko
+  gzip "${pkgdir}/usr/lib/modules/${_extramodules}/bbswitch.ko"
  
+}

Copied: bbswitch/repos/community-i686/bbswitch.install (from rev 86437, 
bbswitch/trunk/bbswitch.install)
===
--- community-i686/bbswitch.install (rev 0)
+++ community-i686/bbswitch.install 2013-03-17 03:30:15 UTC (rev 86438)
@@ -0,0 +1,12 @@
+post_install() {
+EXTRAMODULES='extramodules-3.7-ARCH'
+depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+}
+
+post_upgrade() {
+post_install
+}
+
+post_remove() {
+post_install
+}

Copied: bbswitch/repos/community-x86_64/PKGBUILD (from rev 86437, 
bbswitch/trunk/PKGBUILD)
===
--- community-x86_64/PKGBUILD   (rev 0)
+++ community-x86_64/PKGBUILD   2013-03-17 03:30:15 UTC (rev 86438)
@@ -0,0 +1,32 @@
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: M0Rf30
+# Contributor: Samsagax 
+
+pkgname=bbswitch
+pkgver=0.5
+_extramodules=extramodules-3.7-ARCH # Don't forget to update bbswitch.install
+pkgrel=2
+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')
+install=bbswitch.install
+source=("https://github.com/downloads/Bumblebee-Project/bbswitch/${pkgname}-${pkgver}.tar.gz";)
+md5sums=('5e0e6eb9c5e8c10db56e5b349b43bba7')
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+
+  _kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
+   
+  make KDIR=/usr/src/linux-${_kernver}
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+   
+  install -Dm644 bbswitch.ko 
"${pkgdir}"/usr/lib/modules/${_extramodules}/bbswitch.ko
+  gzip "${pkgdir}/usr/lib/modules/${_extramodules}/bbswitch.ko"
  
+}

Copied: bbswitch/repos/community-x86_64/bbswitch.install (from rev 86437, 
bbswitch/trunk/bbswitch.install)
===
--- community-x86_64/bbswitch.install   (rev 0)
+++ community-x86_64/bbswitch.install   2013-03-17 03:30:15 UTC (rev 86438)
@@ -0,0 +1,12 @@
+post_install() {
+EXTRAMODULES='extramodules-3.7-ARCH'
+depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+}
+
+post_upgrade() {
+post_install
+}
+
+post_remove() {
+post_install
+}