56 lines
1.4 KiB
Text
56 lines
1.4 KiB
Text
# Reference: <https://postmarketos.org/devicepkg>
|
|
# Maintainer: Jenneron <jenneron@protonmail.com>
|
|
pkgname=device-google-bob
|
|
pkgdesc="ASUS Chromebook Flip C101"
|
|
pkgver=2
|
|
pkgrel=0
|
|
url="https://postmarketos.org"
|
|
license="MIT"
|
|
arch="aarch64"
|
|
options="!check !archcheck"
|
|
depends="
|
|
alsa-ucm-conf-google-gru
|
|
depthcharge-tools
|
|
linux-postmarketos-rockchip
|
|
postmarketos-base
|
|
postmarketos-update-depthcharge-kernel
|
|
"
|
|
makedepends="devicepkg-dev"
|
|
subpackages="
|
|
$pkgname-nonfree-firmware:nonfree_firmware
|
|
$pkgname-phosh
|
|
"
|
|
source="
|
|
deviceinfo
|
|
phoc.ini
|
|
modprobe.d/accel.conf
|
|
"
|
|
|
|
build() {
|
|
devicepkg_build $startdir $pkgname
|
|
}
|
|
|
|
package() {
|
|
devicepkg_package $startdir $pkgname
|
|
|
|
install -Dm644 "$srcdir"/accel.conf \
|
|
"$pkgdir"/etc/modprobe.d/accel.conf
|
|
}
|
|
|
|
nonfree_firmware() {
|
|
pkgdesc="WiFi/BT and DP firmware"
|
|
depends="linux-firmware-mrvl linux-firmware-rockchip"
|
|
mkdir "$subpkgdir"
|
|
}
|
|
|
|
phosh() {
|
|
install_if="$pkgname=$pkgver-r$pkgrel postmarketos-ui-phosh"
|
|
install -Dm644 "$srcdir"/phoc.ini \
|
|
"$subpkgdir"/etc/phosh/phoc.ini
|
|
}
|
|
|
|
sha512sums="
|
|
6860511450fa5f0a3ac0e36ef720fc581fb55f27f3a5b89d0cf8ad5b9845af3c8dd52c309dc0163ba8e6e3894b3c5c51e15cb64942cf985f431f4606aabe4a30 deviceinfo
|
|
bd63cfc97d37e81dd9559dad60f330c10dc280afd20081495c6302960fcacf32954e3edab53294fcd5278e86c53c47a95b345a8d9e18807d88fe4313d519d259 phoc.ini
|
|
1ba29c50747458b68ed98706c008cfaeea9eff56d2977a23e060f3a9fcf306c9d62d162e2906472d24a6c25596af95e26722c6b55ca97a031b2d5c8db2661390 accel.conf
|
|
"
|