2022-01-16 20:19:26 +00:00
|
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
|
|
|
pkgname=device-tolino-shine3
|
|
|
|
pkgdesc="Tolino Shine 3"
|
2022-09-27 06:33:21 +00:00
|
|
|
pkgver=0.3
|
2023-08-02 17:06:01 +00:00
|
|
|
pkgrel=2
|
2022-01-16 20:19:26 +00:00
|
|
|
url="https://postmarketos.org"
|
|
|
|
license="MIT"
|
|
|
|
arch="armv7"
|
|
|
|
options="!check !archcheck"
|
|
|
|
depends="
|
2022-08-18 18:18:22 +00:00
|
|
|
kobo-epdc-extractor
|
|
|
|
linux-kobo-clara-mainline
|
2022-01-16 20:19:26 +00:00
|
|
|
perl
|
|
|
|
postmarketos-base
|
|
|
|
u-boot-tolino-shine3
|
|
|
|
u-boot-tools
|
|
|
|
"
|
|
|
|
makedepends="devicepkg-dev"
|
|
|
|
|
|
|
|
source="
|
|
|
|
deviceinfo
|
2023-08-02 17:06:01 +00:00
|
|
|
modules-initfs
|
2022-01-16 20:19:26 +00:00
|
|
|
uboot-script.cmd
|
|
|
|
"
|
|
|
|
|
|
|
|
build() {
|
|
|
|
devicepkg_build $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
devicepkg_package $startdir $pkgname
|
|
|
|
mkimage -A arm -O linux -T script -n postmarketOS \
|
|
|
|
-d "$srcdir/uboot-script.cmd" "$srcdir/boot.scr"
|
|
|
|
install -Dm644 "$srcdir/boot.scr" "$pkgdir/boot/boot.scr"
|
|
|
|
}
|
|
|
|
|
|
|
|
sha512sums="
|
2023-08-02 17:06:01 +00:00
|
|
|
9f58b75c127cb823859dc8bfa4997c58ea3d7192919b257e6c26bc8c1ddec105943cca4193bc2c5058357a64fe1395b99dbb69a0b1a95fe008d710da40b21744 deviceinfo
|
|
|
|
5d53ee902538e53c4fe79eaef8e3800b9d3f73ec70d2a9887ddb11a6715ca76ce17128e3c02c2b6f2f575fb86f15c2415c24466d4b1a031f7a346d0db186dcb1 modules-initfs
|
2022-01-16 20:19:26 +00:00
|
|
|
86827d4464def94006105841000ed934326d814d49aa03292937228a37b1120ebb84f04cd23946feaca16c8eb8d847d671bef0ae98f2c5632fd01abb46bb033d uboot-script.cmd
|
|
|
|
"
|