Date: Friday, July 5, 2013 @ 07:39:56
  Author: tpowa
Revision: 93535

db-move: moved bbswitch from [community-staging] to [community-testing] (i686, 
x86_64)

Added:
  bbswitch/repos/community-testing-i686/
  bbswitch/repos/community-testing-i686/PKGBUILD
    (from rev 93534, bbswitch/repos/community-staging-i686/PKGBUILD)
  bbswitch/repos/community-testing-i686/bbswitch.install
    (from rev 93534, bbswitch/repos/community-staging-i686/bbswitch.install)
  bbswitch/repos/community-testing-x86_64/
  bbswitch/repos/community-testing-x86_64/PKGBUILD
    (from rev 93534, bbswitch/repos/community-staging-x86_64/PKGBUILD)
  bbswitch/repos/community-testing-x86_64/bbswitch.install
    (from rev 93534, bbswitch/repos/community-staging-x86_64/bbswitch.install)
Deleted:
  bbswitch/repos/community-staging-i686/
  bbswitch/repos/community-staging-x86_64/

-------------------------------------------+
 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 93534, 
bbswitch/repos/community-staging-i686/PKGBUILD)
===================================================================
--- community-testing-i686/PKGBUILD                             (rev 0)
+++ community-testing-i686/PKGBUILD     2013-07-05 05:39:56 UTC (rev 93535)
@@ -0,0 +1,32 @@
+# Maintainer: Sven-Hendrik Haase <s...@lutzhaase.com>
+# Contributor: M0Rf30
+# Contributor: Samsagax <samsa...@gmail.com>
+
+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-testing-i686/bbswitch.install (from rev 93534, 
bbswitch/repos/community-staging-i686/bbswitch.install)
===================================================================
--- community-testing-i686/bbswitch.install                             (rev 0)
+++ community-testing-i686/bbswitch.install     2013-07-05 05:39:56 UTC (rev 
93535)
@@ -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 93534, 
bbswitch/repos/community-staging-x86_64/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD                           (rev 0)
+++ community-testing-x86_64/PKGBUILD   2013-07-05 05:39:56 UTC (rev 93535)
@@ -0,0 +1,32 @@
+# Maintainer: Sven-Hendrik Haase <s...@lutzhaase.com>
+# Contributor: M0Rf30
+# Contributor: Samsagax <samsa...@gmail.com>
+
+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-testing-x86_64/bbswitch.install (from rev 
93534, bbswitch/repos/community-staging-x86_64/bbswitch.install)
===================================================================
--- community-testing-x86_64/bbswitch.install                           (rev 0)
+++ community-testing-x86_64/bbswitch.install   2013-07-05 05:39:56 UTC (rev 
93535)
@@ -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
+}

Reply via email to