pmaports/device/testing/device-google-burnet/APKBUILD
2022-10-04 21:45:03 +02:00

46 lines
1.2 KiB
Text

# Reference: <https://postmarketos.org/devicepkg>
# Maintainer: Jenneron <jenneron@protonmail.com>
pkgname=device-google-burnet
pkgdesc="HP Chromebook x360 11MK G3 EE"
pkgver=1
pkgrel=0
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
options="!check !archcheck"
depends="
alsa-ucm-conf-google-kukui
depthcharge-tools
linux-postmarketos-mtk-mt8183
mesa-dri-gallium
postmarketos-base
postmarketos-update-depthcharge-kernel
"
makedepends="devicepkg-dev"
source="
deviceinfo
modules-load.d/sound.conf
"
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
build() {
devicepkg_build $startdir $pkgname
}
package() {
devicepkg_package $startdir $pkgname
install -Dm644 "$srcdir"/sound.conf \
"$pkgdir"/etc/modules-load.d/sound.conf
}
nonfree_firmware() {
pkgdesc="WiFi/BT firmware"
depends="linux-firmware-ath10k linux-firmware-mediatek"
mkdir "$subpkgdir"
}
sha512sums="
5514c588d76bef7a9fa8c8f7ad012efd5da34422f4808f819a795ea753f232322a63bbc68a648adc939ad9ade57d60e736ce5ebdcf6ea4173864978579460e2b deviceinfo
bdf45461873b9754bc91d7f72afd6cef1aa6e523ead0a7816c8976ed98ff2d39b66c53dba2f2d92e36162c092360d1524845f27160f6af2bb010cd3259d5b7ed sound.conf
"