pkgname=extract-dtb
pkgver="1.1"
pkgrel=0
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="GPLv3"
depends="python3"
source="$pkgname-$pkgver.tar.gz::https://github.com/PabloCastellano/extract-dtb/archive/v$pkgver.tar.gz"
options="!check"

package() {
    cd "$srcdir"/"$pkgname"-"$pkgver"
    install -Dm755 "$pkgname".py "$pkgdir"/usr/bin/"$pkgname"
}

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