pmaports/main/extract-dtb/APKBUILD

17 lines
642 B
Text

pkgname=extract-dtb
pkgver="1.0"
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="59da50ce097a33224be01785404f2a6052e85d6a115382bb13852f8bcfee16bed5776d1f704f3697f277d7a3734580b104168f56c7e06cdc8cf0ea9f79c13495 extract-dtb-1.0.tar.gz"