2019-09-21 12:16:51 +00:00
|
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
2020-04-25 09:51:42 +00:00
|
|
|
pkgname=device-htc-memul
|
2019-09-21 12:16:51 +00:00
|
|
|
pkgdesc="HTC One Mini 2"
|
|
|
|
pkgver=0.1
|
2022-10-10 19:33:44 +00:00
|
|
|
pkgrel=8
|
2019-09-21 12:16:51 +00:00
|
|
|
url="https://postmarketos.org"
|
|
|
|
license="MIT"
|
|
|
|
arch="armv7"
|
|
|
|
options="!check !archcheck"
|
2022-10-10 19:33:44 +00:00
|
|
|
depends="postmarketos-base linux-htc-memul mkbootimg"
|
2019-09-21 12:16:51 +00:00
|
|
|
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"
|
|
|
|
}
|
|
|
|
|
2021-09-18 17:06:03 +00:00
|
|
|
sha512sums="
|
|
|
|
e37873e774fc221c068f0bd960ffeb2ec7ee03ad5d3a09f331afe18d1931e712d4c8ccfed0ccae9405a40a070ce82aa77b0545fdbb06513a97ac588d4712ab79 deviceinfo
|
|
|
|
765abaad5fda0dfda5e62e1e48414d3eea822198f39d0792171a04d73f86f6273a6e562afab430cbfcdd084412568a0ad03d012e9c40c5564f5cd1b9c0f181eb initfs-hook.sh
|
|
|
|
"
|