pmaports/device/testing/device-xiaomi-mido/APKBUILD

31 lines
745 B
Text

pkgname=device-xiaomi-mido
pkgdesc="Xiaomi Redmi Note 4X"
pkgver=2
pkgrel=0
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
options="!check !archcheck"
depends="postmarketos-base mkbootimg soc-qcom-msm8916 linux-postmarketos-qcom-msm8953"
makedepends="devicepkg-dev"
source="deviceinfo"
subpackages="
$pkgname-nonfree-firmware:nonfree_firmware
"
build() {
devicepkg_build $startdir $pkgname
}
package() {
devicepkg_package $startdir $pkgname
}
nonfree_firmware() {
pkgdesc="Proprietary firmware"
depends="linux-firmware-qcom firmware-xiaomi-mido"
mkdir "$subpkgdir"
}
sha512sums="
e8f3fe8c9b5d71b98a19acf4f2515024133d5243b8d80c0d6592f18bc28d8042bc32895ea86f77c6651b5f39d10d475c8e9faa3af4bd2c2eebc2f26ff5b0669d deviceinfo
"