pmaports/device/testing/device-google-juniper/APKBUILD

49 lines
1.2 KiB
Text
Raw Normal View History

2022-08-03 09:47:31 +00:00
# Reference: <https://postmarketos.org/devicepkg>
# Maintainer: BinaryCraft <keep.it.sns@gmail.com>
# Co-Maintainer: Jenneron <jenneron@protonmail.com>
pkgname=device-google-juniper
pkgdesc="Acer Chromebook Spin 311"
pkgver=2
pkgrel=1
2022-08-03 09:47:31 +00:00
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
options="!check !archcheck"
depends="
alsa-ucm-conf-google-kukui
2022-08-03 09:47:31 +00:00
depthcharge-tools
linux-postmarketos-mediatek-mt8183
2022-08-03 09:47:31 +00:00
postmarketos-base
postmarketos-update-depthcharge-kernel
soc-mediatek-mt8183
2022-08-03 09:47:31 +00:00
"
makedepends="devicepkg-dev"
source="
deviceinfo
modules-load.d/sound.conf
"
2022-08-03 09:47:31 +00:00
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
2022-08-03 09:47:31 +00:00
}
nonfree_firmware() {
pkgdesc="WiFi/BT firmware"
depends="linux-firmware-ath10k linux-firmware-mediatek"
mkdir "$subpkgdir"
}
sha512sums="
f0cdce2360b8d93c4d3d421c524be036450ba35f3eb5dee14d6070ec00e29166c799ecf392c60fd01678a58fb3c773fe12a620a9ce91f4dd18c22335189e9f90 deviceinfo
bdf45461873b9754bc91d7f72afd6cef1aa6e523ead0a7816c8976ed98ff2d39b66c53dba2f2d92e36162c092360d1524845f27160f6af2bb010cd3259d5b7ed sound.conf
2022-08-03 09:47:31 +00:00
"