pmaports/device/device-xiaomi-mido/APKBUILD

30 lines
770 B
Text
Raw Normal View History

# Reference: <https://postmarketos.org/devicepkg>
pkgname="device-xiaomi-mido"
pkgdesc="Xiaomi Redmi Note 4"
pkgver=0.1
pkgrel=0
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
options="!check !archcheck"
depends="postmarketos-base linux-xiaomi-mido mkbootimg mesa-dri-swrast mdss-fb-init-hack"
makedepends="devicepkg-dev"
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
source="deviceinfo"
build() {
devicepkg_build $startdir $pkgname
}
package() {
devicepkg_package $startdir $pkgname
}
nonfree_firmware() {
pkgdesc="Wifi firmware"
depends="firmware-xiaomi-mido"
mkdir "$subpkgdir"
}
sha512sums="af088a3cfb71f52f7b095f4ea75de4c3141bf840502a7325500b7717fec0d0688ee2c82c78c858c3d6cde59a43f4c6873d85b53078d82faddbed8ce1484acf28 deviceinfo"