pmaports/device/testing/firmware-samsung-j6primelte/APKBUILD
Johannes Marbach 95d375879c
treewide: firmware: use pmb:cross-native/!tracdeps (MR 2468)
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]
2021-09-19 18:57:36 +02:00

25 lines
857 B
Text

# Maintainer: omame <me@omame.tech>
pkgname=firmware-samsung-j6primelte
pkgver=0.1
pkgrel=0
pkgdesc="Firmware for the Samsung Galaxy J6+ (j6primelte)"
_repository="pmos-j6primelte-firmware-blobs"
url="https://github.com/omaemae/$_repository"
arch="noarch"
license="proprietary"
options="!check !archcheck !strip !spdx !tracedeps pmb:cross-native"
# Source
_commit="c3b880b288658b0810ab5b59255937d573d8f776"
source="$pkgname-$_commit.tar.gz::$url/archive/$_commit.tar.gz"
package() {
cd "$srcdir"/$_repository-$_commit/blobs
for file in $(find * -type f); do
install -Dm644 $file "$pkgdir"/lib/firmware/postmarketos/$file
done
}
sha512sums="
7b2c84ec71cb9641a99fb791f630ce4a9128f4f8d73aebaa563f959ae8caddab8e36280ce4e051520664a3dba61d5ba5974ef9d98fcc356314432b61eed87d1b firmware-samsung-j6primelte-c3b880b288658b0810ab5b59255937d573d8f776.tar.gz
"