pmaports/firmware/firmware-aosp-broadcom-wlan/APKBUILD
Oliver Smith 771612344d
other device related packages: don't use noarch
It does not make sense to build most of them for x86_64 for example.
2018-11-27 07:47:11 +01:00

23 lines
868 B
Text

pkgname=firmware-aosp-broadcom-wlan
pkgver=1
pkgrel=1
pkgdesc="Broadcom Wi-Fi firmware from AOSP"
url="https://android.googlesource.com/platform/hardware/broadcom/wlan/+/android-8.0.0_r12"
arch="armhf aarch64"
license="proprietary"
options="!check !strip !archcheck"
# Sources
_commit=6c8ef5b600cec5d36a54a0276fe8c97b9ab8d6bb
_url="https://github.com/zhuowei/android_hardware_broadcom_wlan"
source=$pkgname-$_commit.tar.gz::$_url"/archive/${_commit}.tar.gz"
package() {
cd "$srcdir/android_hardware_broadcom_wlan-$_commit/bcmdhd/firmware"
for _i in */*.bin; do
install -Dm644 "$_i" \
"$pkgdir/lib/firmware/postmarketos/bcmdhd/$_i"
done
}
sha512sums="ffd125833076a257b6ad4bf9d3f1cb262331e0ce5b1a15b12b6a5b375fa82ea37c17876dada4cab8fe74c4c66dfc499bd9a00526c1a9c31664add3d4e45d5cf0 firmware-aosp-broadcom-wlan-6c8ef5b600cec5d36a54a0276fe8c97b9ab8d6bb.tar.gz"