pmaports/device/testing/device-lenovo-yoga-5g/APKBUILD

40 lines
1 KiB
Text
Raw Normal View History

2023-01-28 09:42:20 +00:00
# Reference: <https://postmarketos.org/devicepkg>
# Maintainer: Jenneron <jenneron@protonmail.com>
pkgname=device-lenovo-yoga-5g
pkgdesc="Lenovo Yoga 5G"
pkgver=2
pkgrel=1
2023-01-28 09:42:20 +00:00
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
options="!check !archcheck"
2023-01-28 09:42:20 +00:00
depends="
linux-postmarketos-qcom-sc8180x>=6.6.0
2023-01-28 09:42:20 +00:00
postmarketos-base
soc-qcom-sc8180x
systemd-boot
2023-01-28 09:42:20 +00:00
"
makedepends="devicepkg-dev"
source="deviceinfo modules-initfs"
2023-01-28 09:42:20 +00:00
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
build() {
devicepkg_build $startdir $pkgname
}
package() {
devicepkg_package $startdir $pkgname
}
nonfree_firmware() {
pkgdesc="WiFi firmware"
depends="firmware-lenovo-yoga-5g linux-firmware-ath10k soc-qcom-sc8180x-nonfree-firmware"
mkdir "$subpkgdir"
}
sha512sums="
6ce114352091fe995d47496e36c1aeca2b47e73b7991c0a9c5f8e315f8f0d3b122d3da0ef4ee0e355fc850d076abb0ee861c2fc4dcff596cf4b3d20df5251d86 deviceinfo
438f30d14ad15fa87e5fa3b5127e5430af35cdddc400d2a01acbba6487792a602fcf3400e2c42ee991e6785fe62b083030ea977292efa88dacb3fcbe03bc32d7 modules-initfs
2023-01-28 09:42:20 +00:00
"