pmaports/device/testing/firmware-google-trogdor/APKBUILD
Anton Bambura 91b0823d57
firmware-google-trogdor: new aport (MR 4250)
Modem firmware for Google Trogdor Chromebooks
2023-07-22 18:15:16 +02:00

27 lines
1.1 KiB
Text

# Maintainer: Jenneron <jenneron@protonmail.com>
pkgname=firmware-google-trogdor
pkgver=1
pkgrel=0
pkgdesc="Modem firmware for Google Trogdor chromebooks"
url="https://gitlab.com/jenneron/firmware-google-trogdor"
arch="aarch64"
license="proprietary"
options="!check !strip !archcheck !tracedeps pmb:cross-native"
_commit="bae7f2275cd7ccd73111662e25b124c082f296ea"
source="$pkgname-$_commit.tar.gz::$url/-/archive/$_commit/firmware-google-trogdor-$_commit.tar.gz"
builddir="$srcdir/$pkgname-$_commit"
package() {
_srcdir="qcom/sc7180-trogdor"
_installdir="$pkgdir/lib/firmware/postmarketos/$_srcdir"
install -Dm644 "$_srcdir"/modem/mba.mbn -t "$_installdir"/modem
install -Dm644 "$_srcdir"/modem/qdsp6sw.mbn -t "$_installdir"/modem
install -Dm644 "$_srcdir"/modem-nolte/mba.mbn -t "$_installdir"/modem-nolte
install -Dm644 "$_srcdir"/modem-nolte/qdsp6sw.mbn -t "$_installdir"/modem-nolte
}
sha512sums="
0f013f5cf62f649dbff139f5454ea0d614cd9a6bacb6d6d05b3bb898c3791e13573f0a5cbf2894f11393635f85ffa260f74da656b40447ff0ea85ec979a68394 firmware-google-trogdor-bae7f2275cd7ccd73111662e25b124c082f296ea.tar.gz
"