pmaports/device/testing/device-pegatron-chagall/APKBUILD
Svyatoslav Ryhel 6bc98cd302
pegatron-chagall: use transfomer firmwares (MR 2371)
Signed-off-by: Svyatoslav Ryhel <clamor95@gmail.com>
2021-07-22 20:58:27 -07:00

41 lines
1.1 KiB
Text

# Maintainer: Raffaele Tranquillini <raffaele.tranquillini@gmail.com>
pkgname=device-pegatron-chagall
pkgdesc="Pegatron Chagall"
pkgver=2
pkgrel=0
url="https://postmarketos.org"
license="MIT"
arch="armv7"
options="!check !archcheck"
depends="postmarketos-base linux-postmarketos-grate mkbootimg alsa-ucm-conf mesa-dri-gallium xf86-video-opentegra"
makedepends="devicepkg-dev"
subpackages="$pkgname-phosh
$pkgname-nonfree-firmware:nonfree_firmware"
source="deviceinfo
rootston.ini"
build() {
devicepkg_build $startdir $pkgname
}
package() {
devicepkg_package $startdir $pkgname
}
phosh() {
install_if="$pkgname postmarketos-ui-phosh"
install -Dm644 "$srcdir"/rootston.ini \
"$subpkgdir"/etc/phosh/rootston.ini
}
nonfree_firmware() {
pkgdesc="Pegatron Chagall WiFi and Bluetooth firmware"
depends="firmware-asus-transformer"
mkdir "$subpkgdir"
}
sha512sums="
fbf38232f272bde3bf563e603dca78a6aa606a889acd52c27f6062df9dac4ab2516e4d684333244eb631cbb2874d2d7ff04553b7b0e5dbdc5e5d6fb88c3b95b1 deviceinfo
618284cdaccd09e60cb9a99afa337fcad7b3bd33f6422b9eae34175bc4516138d486cbb9f5735cafb325bc16cf362de16aeae7c77d334668c749afcfa557359b rootston.ini
"