2023-11-11 11:42:31 +00:00
|
|
|
# Maintainer: Andreas Kemnade <andreas@kemnade.info>
|
2021-07-10 14:43:24 +00:00
|
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
|
|
|
pkgname=device-kobo-clara
|
|
|
|
pkgdesc="Kobo Clara HD"
|
2022-09-27 06:33:21 +00:00
|
|
|
pkgver=0.7
|
2023-11-11 11:42:31 +00:00
|
|
|
pkgrel=6
|
2021-07-10 14:43:24 +00:00
|
|
|
url="https://postmarketos.org"
|
|
|
|
license="MIT"
|
|
|
|
arch="armv7"
|
|
|
|
options="!check !archcheck"
|
|
|
|
depends="
|
2023-11-11 11:42:31 +00:00
|
|
|
linux-kobo-clara-mainline
|
2022-08-18 18:18:22 +00:00
|
|
|
kobo-epdc-extractor
|
2021-07-14 19:17:39 +00:00
|
|
|
perl
|
2021-07-10 14:43:24 +00:00
|
|
|
postmarketos-base
|
|
|
|
u-boot-kobo-clara
|
|
|
|
u-boot-tools
|
|
|
|
"
|
|
|
|
makedepends="devicepkg-dev"
|
2021-07-14 19:17:39 +00:00
|
|
|
source="
|
|
|
|
deviceinfo
|
2023-11-11 11:42:31 +00:00
|
|
|
modules-initfs
|
|
|
|
uboot-script.cmd
|
2021-07-14 19:17:39 +00:00
|
|
|
"
|
2021-07-10 14:43:24 +00:00
|
|
|
|
|
|
|
build() {
|
|
|
|
devicepkg_build $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
devicepkg_package $startdir $pkgname
|
|
|
|
mkimage -A arm -O linux -T script -n postmarketOS \
|
2023-11-11 11:42:31 +00:00
|
|
|
-d "$srcdir/uboot-script.cmd" "$srcdir/boot.scr"
|
|
|
|
install -Dm644 "$srcdir/boot.scr" "$pkgdir/boot/boot.scr"
|
2021-07-10 14:43:24 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
sha512sums="
|
2023-11-11 11:42:31 +00:00
|
|
|
c1eb7552f3163a6a48b699a6c99010914b75fd84b36b1d1a4ffb83d19cc1bbc3355bbe9b1a568ea2a6c2d0e4a87c4a22b7330c454c215b8f8b1edb2b2bac170d deviceinfo
|
|
|
|
5d53ee902538e53c4fe79eaef8e3800b9d3f73ec70d2a9887ddb11a6715ca76ce17128e3c02c2b6f2f575fb86f15c2415c24466d4b1a031f7a346d0db186dcb1 modules-initfs
|
|
|
|
7bd9c0aa73b67520b8563b9d4453acafa29adcfed1575d96aea3b0d2e2023cbe9cd7d252b97786efb920a6f05e17a913079353ba481428f16c97d82b42051a2c uboot-script.cmd
|
2021-07-10 14:43:24 +00:00
|
|
|
"
|