pmaports/device/device-htc-memul/APKBUILD

33 lines
970 B
Text
Raw Normal View History

# Reference: <https://postmarketos.org/devicepkg>
# Contributor: Luca Weiss <luca@z3ntu.xyz>
pkgname="device-htc-memul"
pkgdesc="HTC One Mini 2"
pkgver=0.1
pkgrel=2
url="https://postmarketos.org"
license="MIT"
arch="armv7"
options="!check !archcheck"
depends="postmarketos-base linux-htc-memul mkbootimg mesa-dri-swrast"
makedepends="devicepkg-dev"
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
source="deviceinfo
initfs-hook.sh"
build() {
devicepkg_build $startdir $pkgname
}
package() {
devicepkg_package $startdir $pkgname
}
nonfree_firmware() {
pkgdesc="Firmware for WiFi, etc."
depends="firmware-htc-memul-wcnss wcnss-wlan"
mkdir "$subpkgdir"
}
sha512sums="875b34d54f9c12a0e86815d78b86a434a63fd97dda43ad9e01337e8b554997945ad27ef05a4ffcc388accb3c039d3cd558f6fc61f6c11f8a9805516b4ab2fb4f deviceinfo
765abaad5fda0dfda5e62e1e48414d3eea822198f39d0792171a04d73f86f6273a6e562afab430cbfcdd084412568a0ad03d012e9c40c5564f5cd1b9c0f181eb initfs-hook.sh"