95d375879c
Add pmb:cross-native/!tracedeps to applicable firmware packages and secure both with a test. This sets the pmb:cross-native and !tracedeps options on all firmware-* packages that are compatible with the native compilation method. A unit test ensures the presence of both options while maintaining a list of exempted packages. Fixes: #718 [ci:ignore-count] [ci:skip-vercheck] [ci:skip-build]
22 lines
771 B
Text
22 lines
771 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 !tracedeps pmb:cross-native"
|
|
|
|
# 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"
|