pmaports/device/device-htc-a5ul/APKBUILD

26 lines
855 B
Text
Raw Normal View History

# Reference: <https://postmarketos.org/devicepkg>
pkgname="device-htc-a5ul"
pkgdesc="hTC Desire 816"
pkgver=0.1
pkgrel=1
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="f3a73742194b8fd64f7ea7190cfbc4428ed7e5be78be1de7d050ffc4da523a04b5aeb5dd78436f6a917880a033d0c266cb32399bff9526b34f5456a53bc823eb deviceinfo
765abaad5fda0dfda5e62e1e48414d3eea822198f39d0792171a04d73f86f6273a6e562afab430cbfcdd084412568a0ad03d012e9c40c5564f5cd1b9c0f181eb initfs-hook.sh"