Added extract-dtb tool

This commit is contained in:
Pablo Castellano 2017-06-25 18:26:49 +02:00
parent a4a687313d
commit 46cd14efb3

17
extract-dtb/APKBUILD Normal file
View file

@ -0,0 +1,17 @@
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"