# Reference: pkgname=device-tolino-shine2hd pkgdesc="Tolino Shine 2 HD" pkgver=2 pkgrel=1 url="https://postmarketos.org" license="MIT" arch="armv7" options="!check !archcheck" depends=" kobo-epdc-extractor linux-postmarketos-imx-ereader perl postmarketos-base u-boot-tolino-shine2hd " makedepends="devicepkg-dev" subpackages="$pkgname-nonfree-firmware:nonfree_firmware" source=" deviceinfo modules-initfs " build() { devicepkg_build $startdir $pkgname } package() { devicepkg_package $startdir $pkgname } nonfree_firmware() { pkgdesc="Wifi firmware" depends="linux-firmware-brcm" mkdir "$subpkgdir" } sha512sums=" 5cd2564af554277cfa5ec5d191ed3841ca15c1a5eeb34cfba3ae3e4f8d8eb3dea5ab4c1b7382344bcb2dc782475690b3b78b62ecf7e2eb1d563a40ea587e665d deviceinfo 5d53ee902538e53c4fe79eaef8e3800b9d3f73ec70d2a9887ddb11a6715ca76ce17128e3c02c2b6f2f575fb86f15c2415c24466d4b1a031f7a346d0db186dcb1 modules-initfs "