# Reference: pkgname=device-kobo-librah2o pkgdesc="Kobo Libra H2O" pkgver=0.1 pkgrel=2 url="https://postmarketos.org" license="MIT" arch="armv7" options="!check !archcheck" depends=" kobo-epdc-extractor linux-kobo-clara-mainline postmarketos-base u-boot-kobo-librah2o u-boot-tools " makedepends="devicepkg-dev" source=" deviceinfo 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=" 0365f6c88c15f9d99d00c28d45144bf0321a8484fbf44b491cbe1493643180f1fcd5192d42991073d771be17eae2ec0a8b6826018e9ffb68e530fad11f02b96c deviceinfo 778674f41c19c56ed8677f151175d22da53e94e03c48d900036287b17a37ba9816976138ad317ec220d807a6ff97ca1006c6ae73c39801929f23927e665f35df uboot-script.cmd "