# Reference: pkgname="device-htc-a5ul" pkgdesc="hTC Desire 816" pkgver=0.1 pkgrel=0 url="https://postmarketos.org" license="MIT" arch="noarch" options="!check" depends="postmarketos-base linux-htc-a5ul mkbootimg mesa-dri-swrast msm-fb-refresher" makedepends="devicepkg-dev" source="deviceinfo initfs-hook.sh" build() { devicepkg_build $startdir $pkgname } package() { devicepkg_package $startdir $pkgname install -D -m644 "$srcdir"/initfs-hook.sh \ "$pkgdir"/etc/postmarketos-mkinitfs/hooks/00-${pkgname}.sh } sha512sums="37348f3dc8241e7ffd4be55554bb1d4593d5affa5a9db90143b279002c30176d8cbac014891e7e823bc66a84de97d6214ca0e038dc45d5c7a203767f5f8fb463 deviceinfo 765abaad5fda0dfda5e62e1e48414d3eea822198f39d0792171a04d73f86f6273a6e562afab430cbfcdd084412568a0ad03d012e9c40c5564f5cd1b9c0f181eb initfs-hook.sh"