# Reference: pkgname=device-realme-porsche pkgdesc="Realme GT 2" pkgver=1 pkgrel=1 url="https://postmarketos.org" license="MIT" arch="aarch64" options="!check !archcheck" depends=" firmware-realme-porsche linux-firmware-ath11k linux-realme-porsche mkbootimg postmarketos-base soc-qcom-sm8350 " makedepends=" devicepkg-dev dtc android-tools " source=" deviceinfo empty-realme-porsche.dts " build() { devicepkg_build $startdir $pkgname dtc -O dtb -o "$srcdir/empty-realme-porsche.dtbo" -b 0 -@ \ "$srcdir/empty-realme-porsche.dts" mkdtboimg create "$srcdir/dtbo.img" --page_size=4096 \ "$srcdir/empty-realme-porsche.dtbo" } package() { devicepkg_package $startdir $pkgname install -Dm644 "$srcdir/dtbo.img" "$pkgdir/boot/dtbo.img" } sha512sums=" ebc87fb84ff9fc3a9e17e1f63afba4c6ce5a9931ff482f6c8384b4d302879ad22ddc1977c45c5d196305647fa91d62fb89fecb6a553e92aa2b93117354a7ccc6 deviceinfo bbc201f65ee01de96ecedc856e7a9aebfb0e421daa2f25a7eb57f61ac9bd7412caefb9f68ac572dfd26f0d1f9752c4033291694f51c4cb5162d7c767beb8a152 empty-realme-porsche.dts "