pkgname=dtbtool pkgver=1.6.0 pkgrel=1 pkgdesc="skales dtbtool" url="https://source.codeaurora.org/quic/kernel/skales/plain/dtbTool" arch="all" license="BSD-2" source=" dtbTool::https://source.codeaurora.org/quic/kernel/skales/plain/dtbTool?id=${pkgver} 00_fix_version_detection.patch 01_find_dtb_in_subfolders.patch " options="!check" depends="dtc-dev python" builddir="$srcdir/build" prepare() { mkdir "$builddir" cp "$srcdir"/dtbTool "$builddir"/dtbTool default_prepare } package() { install -D -m755 "$builddir"/dtbTool \ "$pkgdir"/usr/bin/dtbTool } sha512sums="77ad411ff482896919d971c5ef15817a5bee837d5a8827fd4a0449e7a99b8759e3ca2fe3f233b4a3a92c8e386e0457191d8d18755dba842224f5cc64ddb89024 dtbTool 3ad31e31a883a1773652149e6e2a7d0225422b3c7576ec58d6bb2db28187096712d24684b3e58f26dec72889c0200d60b763e985a1f6ff60edcb1fe05ab58353 00_fix_version_detection.patch 5d88faa1b714d6c0facb959c85fe639a82debd178f127d83f339b5feffd5925498c06fe5247d1ff6280582498bd83ddc0564d4d64c365e39b83fbaa5d19b0b41 01_find_dtb_in_subfolders.patch"