summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorChristoph Gysin2017-04-25 10:13:09 +0300
committerChristoph Gysin2017-04-26 08:40:23 +0300
commitcdc20e028e01c2ab3246434c6ddb2b4dc65d6c0b (patch)
tree3364826338a273724435355e07147792413fcab9 /PKGBUILD
parent24d300d11da8bf94af36b61fc681242e94751758 (diff)
downloadaur-cdc20e028e01c2ab3246434c6ddb2b4dc65d6c0b.tar.gz
switch to mainline and cherry pick dkms config
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD8
1 files changed, 6 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 15856875fb16..1ca3e81eed59 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Hugo Osvaldo Barrera <hugo@barrera.io>
pkgname="bcwc-pcie-dkms"
-pkgver=0r231.0712f39
+pkgver=0r249.758fe01
pkgrel=1
pkgdesc="Reverse engineered Linux driver for the Broadcom 1570 PCIe webcam."
arch=('x86_64')
@@ -13,7 +13,7 @@ conflicts=("bcwc-pcie" "bcwc-pcie-git")
provides=("bcwc-pcie")
install="$pkgname.install"
-source=("$pkgname::git+https://github.com/patjak/bcwc_pcie.git"
+source=("$pkgname::git+https://github.com/patjak/bcwc_pcie.git#branch=mainline"
"bcwc-pcie.modprobe.conf"
"bcwc-pcie.modules-load.conf")
md5sums=('SKIP'
@@ -28,6 +28,10 @@ pkgver() {
package() {
cd $srcdir/$pkgname
+ # add dkms config
+ git cherry-pick 76945312a9d2e786bebc9bb5711f5962365c5c20
+ git cherry-pick 4901c363e8688a46b83bfcbee92c1588dca6054c
+
for FILE in dkms.conf Makefile *.[ch]; do
install -Dm 644 "$FILE" "$pkgdir/usr/src/${pkgname/-dkms/}-${pkgver}/$FILE"
done