Date: Thursday, November 22, 2018 @ 19:54:37 Author: heftig Revision: 409364
archrelease: copy trunk to community-staging-x86_64 Added: bbswitch/repos/community-staging-x86_64/PKGBUILD (from rev 409357, bbswitch/trunk/PKGBUILD) Deleted: bbswitch/repos/community-staging-x86_64/PKGBUILD ----------+ PKGBUILD | 76 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 38 insertions(+), 38 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2018-11-22 19:54:33 UTC (rev 409363) +++ PKGBUILD 2018-11-22 19:54:37 UTC (rev 409364) @@ -1,38 +0,0 @@ -# Maintainer: Sven-Hendrik Haase <s...@lutzhaase.com> -# Contributor: M0Rf30 -# Contributor: Samsagax <samsa...@gmail.com> - -pkgbase=bbswitch -pkgname=(bbswitch bbswitch-dkms) -pkgver=0.8 -pkgrel=178 -pkgdesc="Kernel module allowing to switch dedicated graphics card on Optimus laptops" -arch=('x86_64') -url="http://github.com/Bumblebee-Project/bbswitch" -license=('GPL') -depends=('linux>=4.19' 'linux<4.20') -makedepends=('linux-headers>=4.19' 'linux-headers<4.20') -_extramodules=extramodules-ARCH -source=("${pkgbase}-${pkgver}.tar.gz::https://github.com/Bumblebee-Project/bbswitch/archive/v${pkgver}.tar.gz") -md5sums=('5b116b31ace3604ddf9d1fc1f4bc5807') - -build() { - cd ${pkgbase}-${pkgver} - _kernver="$(cat /usr/lib/modules/${_extramodules}/version)" - make KDIR=/lib/modules/${_kernver}/build -} - -package_bbswitch() { - cd ${pkgbase}-${pkgver} - install -Dt "${pkgdir}/usr/lib/modules/${_extramodules}" -m644 *.ko - find "${pkgdir}" -name '*.ko' -exec xz {} + -} - -package_bbswitch-dkms() { - depends=('dkms') - conflicts=('bbswitch') - provides=('bbswitch') - - cd ${pkgbase}-${pkgver} - install -Dt "${pkgdir}/usr/src/${pkgbase}-${pkgver}" -m644 Makefile bbswitch.c dkms/dkms.conf -} Copied: bbswitch/repos/community-staging-x86_64/PKGBUILD (from rev 409357, bbswitch/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2018-11-22 19:54:37 UTC (rev 409364) @@ -0,0 +1,38 @@ +# Maintainer: Sven-Hendrik Haase <s...@lutzhaase.com> +# Contributor: M0Rf30 +# Contributor: Samsagax <samsa...@gmail.com> + +pkgbase=bbswitch +pkgname=(bbswitch bbswitch-dkms) +pkgver=0.8 +pkgrel=179 +pkgdesc="Kernel module allowing to switch dedicated graphics card on Optimus laptops" +arch=('x86_64') +url="http://github.com/Bumblebee-Project/bbswitch" +license=('GPL') +depends=('linux>=4.19' 'linux<4.20') +makedepends=('linux-headers>=4.19' 'linux-headers<4.20') +_extramodules=extramodules-ARCH +source=("${pkgbase}-${pkgver}.tar.gz::https://github.com/Bumblebee-Project/bbswitch/archive/v${pkgver}.tar.gz") +md5sums=('5b116b31ace3604ddf9d1fc1f4bc5807') + +build() { + cd ${pkgbase}-${pkgver} + _kernver="$(cat /usr/lib/modules/${_extramodules}/version)" + make KDIR=/lib/modules/${_kernver}/build +} + +package_bbswitch() { + cd ${pkgbase}-${pkgver} + install -Dt "${pkgdir}/usr/lib/modules/${_extramodules}" -m644 *.ko + find "${pkgdir}" -name '*.ko' -exec xz {} + +} + +package_bbswitch-dkms() { + depends=('dkms') + conflicts=('bbswitch') + provides=('bbswitch') + + cd ${pkgbase}-${pkgver} + install -Dt "${pkgdir}/usr/src/${pkgbase}-${pkgver}" -m644 Makefile bbswitch.c dkms/dkms.conf +}