# Contributor: Pablo Castellano <pablo@anche.no>
# Maintainer: Pablo Castellano <pablo@anche.no>
pkgname=extract-dtb
pkgver=1.1
pkgrel=1
pkgdesc="Tool to split a kernel image with appended dtbs into separated kernel and dtb files"
url="https://github.com/PabloCastellano/extract-dtb"
arch="noarch"
license="GPL-3.0-or-later"
depends="python3"
source="$pkgname-$pkgver.tar.gz::https://github.com/PabloCastellano/extract-dtb/archive/v$pkgver.tar.gz"
options="!check"

package() {
	install -Dm755 extract-dtb.py "$pkgdir"/usr/bin/extract-dtb
}

sha512sums="4ded48f9e7b2f810df4504b6fa905dbadcce54fa55f381d05545b30b9eef8938cf334d18137f28b4b3fd791b4ecde2fff4502987635147949efbc91007a82acb  extract-dtb-1.1.tar.gz"
