2019-09-12 15:43:00 +00:00
|
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
|
|
|
pkgname=device-samsung-starqltechn
|
|
|
|
pkgdesc="Samsung Galaxy S9 SM-G9600"
|
2024-05-01 19:35:23 +00:00
|
|
|
pkgver=3
|
2024-04-02 12:52:52 +00:00
|
|
|
pkgrel=0
|
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="
|
2023-06-05 21:11:15 +00:00
|
|
|
75d405e0574c095f96fb37074968120ff429b862f6d00f4f3ccfc3a9ff3473e19d9e65879b1e6523042de9081b95fbc0c6d73b92e529feef84f7ff5f3a113624 deviceinfo
|
2024-05-01 19:35:23 +00:00
|
|
|
f74d2f68ab78ae1f84c2a56f6b016147d3d819b8ae816ae7300e73de95cb14082a27315941031be4ebd0d0ed455db4796b41412d81855a4cd09bb21fb2442483 boot_image.its
|
2019-09-12 15:43:00 +00:00
|
|
|
ba782c324c14cf0947c752b51a607ae1b08def885b0cf0afe89d1fcade3491ab2f547551eb08bd8074f608dac46bdcdf75c5c633bd7a15e6eb63a10f30994c82 payload_mock.dts
|
2024-05-01 19:35:23 +00:00
|
|
|
1ae956562df26c458654c178efcba4862ff9a8b55d5f27bb74f1667bb2434f4bf95ec4f3ffc54d7bc84a6d075e9caadf46716dd72bc9d6b7b623ec4f25940f36 bootscript.sh
|
2019-09-12 15:43:00 +00:00
|
|
|
"
|