pmaports/device/community/device-xiaomi-markw/APKBUILD

45 lines
1.1 KiB
Text
Raw Normal View History

# Maintainer: Victor Pavlov (vipaoL) <vipaolmail@gmail.com>
2023-02-25 10:18:24 +00:00
# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-xiaomi-markw
pkgdesc="Xiaomi Redmi 4 Prime"
pkgver=5
pkgrel=0
2023-02-25 10:18:24 +00:00
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
options="!check !archcheck"
depends="
linux-postmarketos-qcom-msm8953
lk2nd-msm8953
mkbootimg
postmarketos-base
soc-qcom-msm8953
"
2023-02-25 10:18:24 +00:00
makedepends="devicepkg-dev"
source="deviceinfo modules-initfs"
2023-02-25 10:18:24 +00:00
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
msm-firmware-loader
soc-qcom-msm8953-initramfs
soc-qcom-msm8953-modem
"
2023-02-25 10:18:24 +00:00
mkdir "$subpkgdir"
}
2023-02-25 10:18:24 +00:00
sha512sums="
0d393f07e551058781a67c096b1ad7f252c78e801a2da8752f893f4ea7c24f7aa65bc69f9c80c7be53e615269a7028eb151e7bc3fe79f0c260a4d28e97f10e7d deviceinfo
0cba88d7ede62dc7c47feefb27d10e58e4c93498bec97cd274a1d10c4f16dff06c5472ed555170e0392a57c9269cc50bf550523f41bf1ba6c600af533302574b modules-initfs
2023-02-25 10:18:24 +00:00
"