2019-09-12 15:43:00 +00:00
|
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
|
|
|
pkgname=device-samsung-starqltechn
|
|
|
|
pkgdesc="Samsung Galaxy S9 SM-G9600"
|
2022-07-30 18:32:05 +00:00
|
|
|
pkgver=0.2
|
2023-09-19 16:16:35 +00:00
|
|
|
pkgrel=3
|
2019-09-12 15:43:00 +00:00
|
|
|
url="https://postmarketos.org"
|
|
|
|
license="MIT"
|
|
|
|
arch="aarch64"
|
|
|
|
options="!check !archcheck"
|
2022-10-10 19:33:44 +00:00
|
|
|
depends="postmarketos-base linux-postmarketos-qcom-sdm845 mkbootimg u-boot-starqltechn u-boot-tools dtc"
|
2019-09-12 15:43:00 +00:00
|
|
|
makedepends="devicepkg-dev dtc"
|
|
|
|
source="deviceinfo boot_image.its payload_mock.dts bootscript.sh"
|
|
|
|
|
|
|
|
build() {
|
|
|
|
devicepkg_build $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
devicepkg_package $startdir $pkgname
|
|
|
|
mkdir -p "$pkgdir"/usr/share/u-boot/starqltechn/
|
|
|
|
mkdir "$builddir"
|
|
|
|
payload_mock_dtb="$builddir/payload_mock.dtb"
|
|
|
|
dtc -I dts -O dtb -o "$payload_mock_dtb" "$srcdir/payload_mock.dts"
|
|
|
|
install -D -m644 "$payload_mock_dtb" \
|
|
|
|
"$pkgdir"/usr/share/u-boot/starqltechn/payload_mock.dtb
|
|
|
|
install -D -m644 "$srcdir/"*.its \
|
|
|
|
"$pkgdir"/usr/share/u-boot/starqltechn/
|
|
|
|
install -D -m644 "$srcdir/"bootscript.sh \
|
|
|
|
"$pkgdir"/usr/share/u-boot/starqltechn/
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
sha512sums="
|
|
|
|
1a51b1a75a7ab23b0011d2952e716b6d98a3a395578a99e278d8eda4c921ce015ce1f0e386a88b89e9f657edc867f00fffd11e550a91ec9ede2769d8cbfd1718 deviceinfo
|
2022-07-30 18:32:05 +00:00
|
|
|
8ecd6621738b14fecfb8bb32f06fa86053649f46d6ef7e50cdc6dd44175d459a8b5f185e0b1d6168d23d6b8474ea31ae9aaf306385eb106df6489e6838b4fbe1 boot_image.its
|
2019-09-12 15:43:00 +00:00
|
|
|
ba782c324c14cf0947c752b51a607ae1b08def885b0cf0afe89d1fcade3491ab2f547551eb08bd8074f608dac46bdcdf75c5c633bd7a15e6eb63a10f30994c82 payload_mock.dts
|
2022-10-14 11:46:40 +00:00
|
|
|
fc9a353946a061b964b8d85ba40a55aabd5dc51ad079ce9013473fb2031f2bea7f987dc437f3e7b515e7f1eccc16c7ba0c616926f59f98382b1193e6875b50f3 bootscript.sh
|
2019-09-12 15:43:00 +00:00
|
|
|
"
|