2021-11-25 21:17:35 +00:00
|
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
|
|
|
pkgname=device-sourceparts-pocketpc
|
|
|
|
pkgdesc="Source Parts Pocket P.C."
|
2024-04-02 12:52:52 +00:00
|
|
|
pkgver=1
|
2024-06-18 19:53:59 +00:00
|
|
|
pkgrel=1
|
2021-11-25 21:17:35 +00:00
|
|
|
url="https://postmarketos.org"
|
|
|
|
license="MIT"
|
|
|
|
arch="aarch64"
|
|
|
|
options="!check !archcheck"
|
|
|
|
depends="
|
|
|
|
linux-sourceparts-pocketpc
|
|
|
|
postmarketos-base
|
|
|
|
u-boot-sourceparts-pocketpc
|
2023-02-19 13:04:28 +00:00
|
|
|
u-boot-tools
|
2021-11-25 21:17:35 +00:00
|
|
|
"
|
|
|
|
makedepends="devicepkg-dev"
|
|
|
|
source="
|
|
|
|
deviceinfo
|
|
|
|
uboot-script.cmd
|
|
|
|
"
|
|
|
|
|
|
|
|
build() {
|
|
|
|
devicepkg_build $startdir $pkgname
|
|
|
|
mkimage \
|
|
|
|
-A arm \
|
|
|
|
-O linux \
|
|
|
|
-T script \
|
|
|
|
-C none \
|
|
|
|
-a 0 \
|
|
|
|
-e 0 \
|
|
|
|
-n postmarketos \
|
|
|
|
-d "$srcdir"/uboot-script.cmd \
|
|
|
|
"$srcdir"/boot.scr
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
devicepkg_package $startdir $pkgname
|
|
|
|
install -Dm644 "$srcdir"/boot.scr \
|
|
|
|
"$pkgdir"/boot/boot.scr
|
|
|
|
}
|
|
|
|
|
|
|
|
sha512sums="
|
|
|
|
69d6d0f8daf09403cd59a46873db575616ca9c7c5d2571a2e6aa975d26cc7777f47f51201003d197f3df32f41e076be64a4f4559db5c6bd234a4dfd6dfc9a169 deviceinfo
|
2024-06-18 19:53:59 +00:00
|
|
|
fef3c97c335eed2636f94cf2a207f7225b89bf00c159744897f41e900d7f9c8df5fc66964c2bc04726a4a5397da2b414377eeccfb4a2e6a6f0361156140357d4 uboot-script.cmd
|
2021-11-25 21:17:35 +00:00
|
|
|
"
|