blob: 6f9e89fc31840686797fdf6cd57b4ee769765921 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
# Maintainer: Harrison <contact@htv04.com>
# Contributor: Hugo Osvaldo Barrera <hugo@barrera.io>
pkgname='facetimehd-firmware'
pkgver=1.0.0
pkgrel=1
epoch=1
pkgdesc='Firmware for the FacetimeHD (Broadcom 1570) PCIe webcam'
arch=('any')
url='https://github.com/patjak/facetimehd-firmware'
license=('unknown')
makedepends=('git' 'curl' 'xz' 'cpio')
conflicts=("$pkgname" 'bcwc-pcie-firmware')
replaces=("$pkgname" 'bcwc-pcie-firmware')
provides=("$pkgname" 'bcwc-pcie-firmware')
source=("$pkgname::git+https://github.com/patjak/facetimehd-firmware.git#tag=v$pkgver")
sha256sums=('SKIP')
build() {
cd "$srcdir/$pkgname"
make
}
package() {
install -Dm644 "$srcdir/$pkgname/firmware.bin" "$pkgdir/usr/lib/firmware/facetimehd/firmware.bin"
}
|