pmaports/device/testing/device-xunlong-orangepi3/APKBUILD

38 lines
872 B
Text
Raw Normal View History

# Reference: <https://postmarketos.org/devicepkg>
# Maintainer: Maxim Karasev <begs@disroot.org>
# Co-Maintainer: exkc <exkc@exkc.moe>
pkgname=device-xunlong-orangepi3
pkgdesc="Xunlong Orange Pi 3"
pkgver=1
pkgrel=2
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
options="!check !archcheck"
depends="
linux-postmarketos-allwinner
postmarketos-base>=25-r1
u-boot-sunxi
"
makedepends="devicepkg-dev"
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
source="deviceinfo"
build() {
devicepkg_build $startdir $pkgname
}
package() {
devicepkg_package $startdir $pkgname
}
nonfree_firmware() {
pkgdesc="Wi-Fi and Bluetooth firmware"
depends="firmware-xunlong-orangepi3"
mkdir "$subpkgdir"
}
sha512sums="
fc068b1693b29a0fa0d4f2586f9dffd44dda8ea348eb644bce827b3049863008cba5cd0579da221b0918d99106e7e7672b7c4d7aecb74b9b732af2b08f0c3e1c deviceinfo
"