pmaports/device/device-pine-a64lts/APKBUILD
Clayton Craft ed063565df
device-pine-a64lts: use deviceinfo_sd_embed_firmware (!140)
This adds the new deviceinfo parameters for specifying binary:offset for the
embed_firmware method, and removes the old method.
2019-01-10 22:22:46 +01:00

30 lines
966 B
Text

# Reference: <https://postmarketos.org/devicepkg>
pkgname="device-pine-a64lts"
pkgdesc="PINE A64-LTS"
pkgver=0.1
pkgrel=2
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
options="!check !archcheck"
depends="postmarketos-base linux-postmarketos-allwinner mesa-dri-swrast u-boot-pine64 uboot-tools"
makedepends="devicepkg-dev"
source="
deviceinfo
uboot-script.cmd
"
build() {
devicepkg_build $startdir $pkgname
mkimage -A arm -O linux -T script -C none -a 0 -e 0 -n postmarketos -d "$srcdir/uboot-script.cmd" "$srcdir/boot.scr"
}
package() {
devicepkg_package $startdir $pkgname
install -D -m644 "$srcdir"/boot.scr \
"$pkgdir"/boot/boot.scr
}
sha512sums="befade7c6b8bbefe812b61afb4718acfdc4f6afb884e3538db726b98d2588286aa811548c248f1e87ab3d190df7b12e2195375ff7757463d519da1d65f3f1f66 deviceinfo
ef7d21144b8c33f80968a6a089dcc6b568abd54f66f30d21d5befc10e51217484440aa8edb1065cd871ffba7bc599f44502bb6d240ee01f59dc92706ec6eabfd uboot-script.cmd"