pmaports/device/testing/firmware-motorola-def/APKBUILD
Luca Weiss a807b01d8f
device/testing/firmware-*: move firmware to /lib/firmware/postmarketos
We keep device-specific firmware in this directory and not in
/lib/firmware.
2021-02-24 02:07:46 +01:00

22 lines
743 B
Text

# Maintainer: ky0ko <ky0ko@disroot.org>
pkgname=firmware-motorola-def
pkgver=1
pkgrel=1
pkgdesc="Firmware for Motorola One Hyper"
url="https://github.com/goshhhy/motorola-def-firmware"
arch="aarch64"
license="proprietary"
options="!check !strip !archcheck"
# Sources
_commit="8575cc1ad407a37126beb625a7d53581af02cfb4"
source="https://github.com/goshhhy/motorola-def-firmware/archive/$_commit.tar.gz"
package() {
cd "$srcdir/motorola-def-firmware-$_commit/files"
for _i in *; do
install -Dm644 $_i "$pkgdir"/lib/firmware/postmarketos/$_i
done
}
sha512sums="eb9840066863775a2d4edd06849438be41cfa765b557bab30d3ef69b1c1d715ec67b876d4dff18a7fb29a6aaeccab78702da3ce137876e087f162bf669b68766 8575cc1ad407a37126beb625a7d53581af02cfb4.tar.gz"