9814d78e73
Use the device's architecture instead of noarch. Because the device packages should never be built for other architectures, even if all depends can be built for other arches as well. This simplifies package building as part of the new build infrastructure effort. pmbootstrap has also been changed to output this by default in aportgen.
41 lines
1.2 KiB
Text
41 lines
1.2 KiB
Text
pkgname=device-nokia-n9
|
|
pkgver=1
|
|
pkgrel=6
|
|
pkgdesc="Nokia N9"
|
|
url="https://postmarketos.org"
|
|
arch="armhf"
|
|
license="MIT"
|
|
depends="postmarketos-base linux-nokia-n9 ofono watchdog-kick"
|
|
makedepends=""
|
|
install=""
|
|
subpackages="$pkgname-weston:weston"
|
|
source="
|
|
deviceinfo
|
|
initfs-hook.sh
|
|
weston.ini
|
|
$install
|
|
"
|
|
options="!check !archcheck"
|
|
|
|
package() {
|
|
install -D -m644 "$srcdir"/deviceinfo \
|
|
"$pkgdir"/etc/deviceinfo
|
|
install -D -m644 "$srcdir"/initfs-hook.sh \
|
|
"$pkgdir"/etc/postmarketos-mkinitfs/hooks/00-${pkgname}.sh
|
|
}
|
|
|
|
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="4ba72beb9b1ff162d7e3b69f3ea43e4166fa928e3ed1bff0f61e61cdb48647070cfedfdb767e4c9173939c5ec347826c5bef003705c59da00a510ce407730720 deviceinfo
|
|
61d9e6bf94f3b9cab0ccb2e18c18e5886a08aae5e70fe5e7b7d7cc2a8d655dc11cdec603731c4328dd288f13ba3aa9328f2fc46e7a473be3da31767786978b05 initfs-hook.sh
|
|
de794566118f1744d068a94e6a75b61d43f6749a4b0871a5270fa7a2048164d609c71fcffa61845c2a7dd4cb5fbeb72c0e4f8b73b382f36d6ff0bcc9b8a5ae25 weston.ini"
|