pmaports/device/testing/device-nokia-n9/APKBUILD
Oliver Smith 64035ac463
device/*: move to device/testing/* (!1063)
Prepare for better device categorization by moving everything to testing
subdir first.

[skip-ci]: chicken-egg problem: passing pmaports CI depends on pmbootstrap MR
				depends on this MR

Related: postmarketos#16
2020-03-14 08:35:32 +01:00

42 lines
1.2 KiB
Text

# Reference: <https://postmarketos.org/devicepkg>
# Contributor: Filip Matijević <filip.matijevic.pz@gmail.com>
pkgname=device-nokia-n9
pkgver=1
pkgrel=11
pkgdesc="Nokia N9"
url="https://postmarketos.org"
arch="armhf"
license="MIT"
depends="postmarketos-base linux-nokia-n9 ofono watchdog-kick"
makedepends="devicepkg-dev"
subpackages="$pkgname-weston:weston"
source="
deviceinfo
initfs-hook.sh
weston.ini
"
options="!check !archcheck"
build() {
devicepkg_build $startdir $pkgname
}
package() {
devicepkg_package $startdir $pkgname
}
weston() {
install_if="$pkgname weston"
install -Dm644 "$srcdir"/weston.ini \
"$subpkgdir"/etc/xdg/weston/weston.ini
}
nonfree_firmware() {
pkgdesc="Wifi firmware"
depends="linux-firmware"
mkdir "$subpkgdir"
}
sha512sums="56932b3a27ff5db245ff7632818b0e535b083ee914c74927e4383f0d10c8d49d57293033744df2583d00e725d1e8a93b7e11237dc7d0df2f36221c7546293d41 deviceinfo
61d9e6bf94f3b9cab0ccb2e18c18e5886a08aae5e70fe5e7b7d7cc2a8d655dc11cdec603731c4328dd288f13ba3aa9328f2fc46e7a473be3da31767786978b05 initfs-hook.sh
de794566118f1744d068a94e6a75b61d43f6749a4b0871a5270fa7a2048164d609c71fcffa61845c2a7dd4cb5fbeb72c0e4f8b73b382f36d6ff0bcc9b8a5ae25 weston.ini"