firmware-google-trogdor: new aport (MR 4250)

Modem firmware for Google Trogdor Chromebooks
This commit is contained in:
Anton Bambura 2023-07-14 18:41:59 +03:00 committed by Pablo Correa Gómez
parent 2640a4632f
commit 91b0823d57
No known key found for this signature in database
GPG key ID: 7A342565FF635F79

View file

@ -0,0 +1,27 @@
# 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
"