Date: Sunday, May 8, 2016 @ 06:47:32 Author: svenstaro Revision: 174282
archrelease: copy trunk to community-testing-i686, community-testing-x86_64 Added: bbswitch/repos/community-testing-i686/PKGBUILD (from rev 174281, bbswitch/trunk/PKGBUILD) bbswitch/repos/community-testing-i686/bbswitch.install (from rev 174281, bbswitch/trunk/bbswitch.install) bbswitch/repos/community-testing-x86_64/PKGBUILD (from rev 174281, bbswitch/trunk/PKGBUILD) bbswitch/repos/community-testing-x86_64/bbswitch.install (from rev 174281, bbswitch/trunk/bbswitch.install) Deleted: bbswitch/repos/community-testing-i686/PKGBUILD bbswitch/repos/community-testing-i686/bbswitch.install bbswitch/repos/community-testing-x86_64/PKGBUILD bbswitch/repos/community-testing-x86_64/bbswitch.install -------------------------------------------+ /PKGBUILD | 90 ++++++++++++++++++++++++++++ /bbswitch.install | 24 +++++++ community-testing-i686/PKGBUILD | 33 ---------- community-testing-i686/bbswitch.install | 12 --- community-testing-x86_64/PKGBUILD | 33 ---------- community-testing-x86_64/bbswitch.install | 12 --- 6 files changed, 114 insertions(+), 90 deletions(-) Deleted: community-testing-i686/PKGBUILD =================================================================== --- community-testing-i686/PKGBUILD 2016-05-08 04:47:20 UTC (rev 174281) +++ community-testing-i686/PKGBUILD 2016-05-08 04:47:32 UTC (rev 174282) @@ -1,33 +0,0 @@ -# $Id$ -# Maintainer: Sven-Hendrik Haase <s...@lutzhaase.com> -# Contributor: M0Rf30 -# Contributor: Samsagax <samsa...@gmail.com> - -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/PKGBUILD (from rev 174281, bbswitch/trunk/PKGBUILD) =================================================================== --- community-testing-i686/PKGBUILD (rev 0) +++ community-testing-i686/PKGBUILD 2016-05-08 04:47:32 UTC (rev 174282) @@ -0,0 +1,45 @@ +# $Id$ +# Maintainer: Sven-Hendrik Haase <s...@lutzhaase.com> +# Contributor: M0Rf30 +# Contributor: Samsagax <samsa...@gmail.com> + +pkgbase=bbswitch +pkgname=(bbswitch bbswitch-dkms) +pkgver=0.8 +_extramodules=extramodules-4.5-ARCH # Don't forget to update bbswitch.install +pkgrel=49 +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.5' 'linux-headers<4.6' 'linux>=4.5' 'linux<4.6') +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.5' 'linux<4.6') + 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}/" +} Deleted: community-testing-i686/bbswitch.install =================================================================== --- community-testing-i686/bbswitch.install 2016-05-08 04:47:20 UTC (rev 174281) +++ community-testing-i686/bbswitch.install 2016-05-08 04:47:32 UTC (rev 174282) @@ -1,12 +0,0 @@ -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-i686/bbswitch.install (from rev 174281, bbswitch/trunk/bbswitch.install) =================================================================== --- community-testing-i686/bbswitch.install (rev 0) +++ community-testing-i686/bbswitch.install 2016-05-08 04:47:32 UTC (rev 174282) @@ -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 +} Deleted: community-testing-x86_64/PKGBUILD =================================================================== --- community-testing-x86_64/PKGBUILD 2016-05-08 04:47:20 UTC (rev 174281) +++ community-testing-x86_64/PKGBUILD 2016-05-08 04:47:32 UTC (rev 174282) @@ -1,33 +0,0 @@ -# $Id$ -# Maintainer: Sven-Hendrik Haase <s...@lutzhaase.com> -# Contributor: M0Rf30 -# Contributor: Samsagax <samsa...@gmail.com> - -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/PKGBUILD (from rev 174281, bbswitch/trunk/PKGBUILD) =================================================================== --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2016-05-08 04:47:32 UTC (rev 174282) @@ -0,0 +1,45 @@ +# $Id$ +# Maintainer: Sven-Hendrik Haase <s...@lutzhaase.com> +# Contributor: M0Rf30 +# Contributor: Samsagax <samsa...@gmail.com> + +pkgbase=bbswitch +pkgname=(bbswitch bbswitch-dkms) +pkgver=0.8 +_extramodules=extramodules-4.5-ARCH # Don't forget to update bbswitch.install +pkgrel=49 +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.5' 'linux-headers<4.6' 'linux>=4.5' 'linux<4.6') +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.5' 'linux<4.6') + 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}/" +} Deleted: community-testing-x86_64/bbswitch.install =================================================================== --- community-testing-x86_64/bbswitch.install 2016-05-08 04:47:20 UTC (rev 174281) +++ community-testing-x86_64/bbswitch.install 2016-05-08 04:47:32 UTC (rev 174282) @@ -1,12 +0,0 @@ -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/bbswitch.install (from rev 174281, bbswitch/trunk/bbswitch.install) =================================================================== --- community-testing-x86_64/bbswitch.install (rev 0) +++ community-testing-x86_64/bbswitch.install 2016-05-08 04:47:32 UTC (rev 174282) @@ -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 +}