pmaports/device/device-fairphone-fp2/APKBUILD

30 lines
759 B
Text
Raw Normal View History

2018-08-23 18:40:19 +00:00
# Reference: <https://postmarketos.org/devicepkg>
pkgname="device-fairphone-fp2"
pkgdesc="Fairphone 2"
2018-08-23 18:40:19 +00:00
pkgver=2
pkgrel=0
url="https://postmarketos.org"
license="MIT"
2018-08-23 18:40:19 +00:00
arch="noarch"
options="!check"
depends="postmarketos-base linux-fairphone-fp2 mkbootimg mesa-dri-swrast"
2018-08-23 18:40:19 +00:00
makedepends="devicepkg-dev"
source="deviceinfo"
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
2018-08-23 18:40:19 +00:00
build() {
devicepkg_build $startdir $pkgname
}
package() {
2018-08-23 18:40:19 +00:00
devicepkg_package $startdir $pkgname
}
nonfree_firmware() {
pkgdesc="WCNSS firmware (WiFi, Bluetooth, FM)"
2018-08-23 18:40:19 +00:00
depends="firmware-fairphone-fp2"
mkdir "$subpkgdir"
}
2018-08-23 18:40:19 +00:00
sha512sums="fe35eb83d1eb5bc0d6bfced5db30238730a2309e8266556f36ca2a9e34ecc2b3825b9533416e93d147ff5488455db7b760d059fde07a714137aae57d0e227e2c deviceinfo"