pkgname=firmware-sony-castor pkgver=1 pkgrel=0 _commit="00b1ede4d9abb102fe6f0b9de4e795384721ceaa" pkgdesc="Firmware for Sony Xperia Z2 Tablet" # The firmware files are located in the windy (WiFi-only) repository but device-sony-castor also uses those files. url="https://github.com/sonyxperiadev/device-sony-castor_windy" arch="armv7" license="proprietary" source="$pkgname-$_commit.tar.gz::https://github.com/sonyxperiadev/device-sony-castor_windy/archive/$_commit.tar.gz" builddir="$srcdir/device-sony-castor_windy-$_commit" options="!check !strip !archcheck" package() { install -Dm644 rootdir/system/etc/BCM4339.hcd \ "$pkgdir"/lib/firmware/postmarketos/brcm/BCM4335C0.hcd install -Dm644 rootdir/system/etc/wifi/bcmdhd.cal \ "$pkgdir"/lib/firmware/postmarketos/brcm/brcmfmac4339-sdio.txt } sha512sums="2816d487e337bdd79cb60ea8b0dfbe9f5a6f063228924a216e1d857b80e4ffed981a820b643d3811ae7d6078f36807f36d17e9316435ff9df204107a71cd4bbf firmware-sony-castor-00b1ede4d9abb102fe6f0b9de4e795384721ceaa.tar.gz"