2020-07-30 23:20:28 +00:00
|
|
|
pkgname=firmware-motorola-ocean
|
2023-05-09 18:32:30 +00:00
|
|
|
pkgver=4
|
2021-06-17 15:31:33 +00:00
|
|
|
pkgrel=0
|
2020-07-30 23:20:28 +00:00
|
|
|
pkgdesc="Firmware for Motorola Moto G7 Power"
|
|
|
|
url="https://gitlab.com/Ultracoolguy/firmware-motorola-ocean"
|
|
|
|
arch="aarch64"
|
|
|
|
license="proprietary"
|
2021-08-28 19:28:14 +00:00
|
|
|
options="!check !strip !archcheck !tracedeps pmb:cross-native"
|
2023-05-09 18:32:30 +00:00
|
|
|
_commit="787dcae00d0866079c6f55dc3ddf6592279b0661"
|
2021-06-30 19:16:58 +00:00
|
|
|
source="https://gitlab.com/Ultracoolguy/firmware-motorola-ocean/-/archive/$_commit/firmware-motorola-ocean-$_commit.tar.gz
|
|
|
|
moto-modem-rfs-setup.initd
|
|
|
|
firmware.files
|
|
|
|
$pkgname-openrc.post-install"
|
|
|
|
subpackages="$pkgname-openrc"
|
2020-09-08 17:38:52 +00:00
|
|
|
|
2020-07-30 23:20:28 +00:00
|
|
|
builddir="$srcdir/$pkgname-$_commit"
|
|
|
|
|
|
|
|
package() {
|
2021-06-30 19:16:58 +00:00
|
|
|
install -Dm755 $srcdir/moto-modem-rfs-setup.initd "$pkgdir"/etc/init.d/moto-modem-rfs-setup
|
|
|
|
|
|
|
|
while IFS="" read -r _i || [ -n "$_i" ]; do
|
|
|
|
[ ! -d $(dirname $_i) ] && mkdir -p $(dirname $_i)
|
|
|
|
echo $_i
|
|
|
|
install -Dm644 $_i "$pkgdir/$_i"
|
|
|
|
done < "$srcdir/firmware.files"
|
|
|
|
}
|
|
|
|
|
|
|
|
openrc() {
|
|
|
|
install="$subpkgname.post-install"
|
|
|
|
default_openrc
|
2020-07-30 23:20:28 +00:00
|
|
|
}
|
|
|
|
|
2021-06-17 15:31:33 +00:00
|
|
|
sha512sums="
|
2023-05-09 18:32:30 +00:00
|
|
|
fd0888bb6a0beeca961d9aabd0e60be64dfd841c3c89c7cdb8e7c1284347c4f56b2bad6a73aebc81e86625a4b548b5d2417ca31de6803ea5b3b58c7c1d97be51 firmware-motorola-ocean-787dcae00d0866079c6f55dc3ddf6592279b0661.tar.gz
|
2021-06-30 19:16:58 +00:00
|
|
|
d4fd0f3406c9f004e9cae7bc500c5713aab75f102f8e3ea1af820865f01eb03def01cd9ed3e8a184c7dfc22ab419628fad17957a3782885d96eb36e94461e842 moto-modem-rfs-setup.initd
|
2023-05-09 18:32:30 +00:00
|
|
|
1ee06dfbf03302e9a92bfd5253bfd959d9e4f328e6df20af80c3f01993e4566ab1ec5c6b556b35a5202b879231a6a9872a0dacc6829f65b5f5508d8943edca6e firmware.files
|
2021-06-30 19:16:58 +00:00
|
|
|
784ac120a2231cfbee153fb8b2634af4ab5091eaa8fe207e66b47641d7531591ee3849e610bb66c7177822c86556f78d51c17ba8e4f3da2f946c4b8c5eaaf310 firmware-motorola-ocean-openrc.post-install
|
2021-06-17 15:31:33 +00:00
|
|
|
"
|