pmaports/device/testing/device-pine64-rockpro64/APKBUILD
Bart Ribbers f315904740
pine64-rockpro64: fix boot part start position in deviceinfo (!1262)
Otherwise the firmware image is too big and can't be written to the
specified storage
2020-05-27 14:28:33 +02:00

34 lines
1 KiB
Text

# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-pine64-rockpro64
pkgver=0.1
pkgrel=2
pkgdesc="PINE64 RockPro64"
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
options="!check !archcheck"
depends="postmarketos-base linux-postmarketos-rockchip u-boot-rockpro64 mesa-git-dri-gallium"
makedepends="devicepkg-dev"
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
source="deviceinfo
extlinux.conf
"
build() {
devicepkg_build $startdir $pkgname
}
package() {
devicepkg_package $startdir $pkgname
install -D -m644 "$srcdir"/extlinux.conf \
"$pkgdir"/boot/extlinux/extlinux.conf
}
nonfree_firmware() {
pkgdesc="Wifi, Bluetooth and video-out firmware"
depends="firmware-pine64-pinebookpro"
mkdir "$subpkgdir"
}
sha512sums="9959812f0a0044f6c6a304e635051fc002bb46f0398cbea00e1ad10cbb2d5c6fa418f8979ef9ccbc403e43d59ada7a84c523de34b9273227a91593c8fc8901f9 deviceinfo
bd974f4f2b27b868bd63d0134c3e4c062a786be781d2585f42326cfb135211cb038be8d769ec178b94cfe860290d2e502e5eb88ff077ea04b808980237cf624c extlinux.conf"