pmaports/device/testing/device-huawei-berlin/APKBUILD
markochk 865a0c2e54
huawei-berlin: new device (MR 4640)
[ci:skip-build] already built successfully in CI
2023-12-19 01:38:27 -08:00

37 lines
815 B
Text

# Reference: <https://postmarketos.org/devicepkg>
# Maintainer: markochk <markochk@proton.me>
pkgname=device-huawei-berlin
pkgdesc="Huawei Honor 6X"
pkgver=0.1
pkgrel=0
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
options="!check !archcheck"
depends="
linux-huawei-berlin
mkbootimg
msm-fb-refresher
postmarketos-base
"
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-huawei-berlin hisi-wlan"
mkdir "$subpkgdir"
}
sha512sums="
21fc9dbd9c7da1549e9204e0512a3fa5b55348f671d40a7d4d1e22577605c48e1867bf0a96d637cbe2bb48b6b1dfcd9c113c8a3fde727fb7483e5e242d1d81b6 deviceinfo
"