# Reference: pkgname=device-xiaomi-markw pkgdesc="Xiaomi Redmi 4 Prime" pkgver=1.0 pkgrel=1 url="https://postmarketos.org" license="MIT" arch="aarch64" options="!check !archcheck" depends="postmarketos-base mkbootimg linux-postmarketos-qcom-msm8953" makedepends="devicepkg-dev" source="deviceinfo modules-initfs" subpackages="$pkgname-nonfree-firmware:nonfree_firmware" build() { devicepkg_build $startdir $pkgname } package() { devicepkg_package $startdir $pkgname } nonfree_firmware() { pkgdesc="WiFi, Bluetooth, Modem, Display and GPU Firmware" depends="firmware-xiaomi-markw" mkdir "$subpkgdir" } sha512sums=" 0d393f07e551058781a67c096b1ad7f252c78e801a2da8752f893f4ea7c24f7aa65bc69f9c80c7be53e615269a7028eb151e7bc3fe79f0c260a4d28e97f10e7d deviceinfo 44efe9884cf2af88efd4bfbb68536977eac9cc04e5d270b9fc38d308f0181161fc968456ab2ca9b82996aa3cc5bff33dae590048c35fdbafdcef273bc5269613 modules-initfs "