pmaports/device/testing/device-fairphone-fp3/APKBUILD

46 lines
985 B
Text
Raw Normal View History

2021-05-08 13:40:46 +00:00
# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-fairphone-fp3
pkgdesc="Fairphone 3"
pkgver=0.2
pkgrel=0
2021-05-08 13:40:46 +00:00
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
options="!check !archcheck"
depends="
mesa-dri-gallium
msm-fb-refresher
mkbootimg
postmarketos-base
"
makedepends="devicepkg-dev"
source="deviceinfo"
subpackages="
$pkgname-kernel-downstream:kernel_downstream
$pkgname-nonfree-firmware:nonfree_firmware
"
build() {
devicepkg_build $startdir $pkgname
}
package() {
devicepkg_package $startdir $pkgname
}
kernel_downstream() {
pkgdesc="Downstream kernel (recommended)"
depends="linux-fairphone-fp3"
devicepkg_subpackage_kernel $startdir $pkgname $subpkgname
}
nonfree_firmware() {
pkgdesc="Firmware for WiFi, Audio, etc."
depends="firmware-fairphone-fp3-wcnss"
mkdir "$subpkgdir"
}
sha512sums="
00d37e819f984e15ead280b398e58b19e6302ff6d5486e9b536a62175a620bb434f3a036a15ac3f02a3b835baf352869ad0367e31cd5f549cee86aa62234300d deviceinfo
2021-05-08 13:40:46 +00:00
"