pmaports/main/extract-dtb/APKBUILD

27 lines
840 B
Text
Raw Normal View History

# Maintainer: Pablo Castellano <pablo@anche.no>
2017-06-25 16:26:49 +00:00
pkgname=extract-dtb
pkgver=1.2.2
pkgrel=4
pkgdesc="Tool to split a kernel image with appended dtbs into separated kernel and dtb files"
2017-06-25 16:26:49 +00:00
url="https://github.com/PabloCastellano/extract-dtb"
arch="noarch"
license="GPL-3.0-or-later"
2017-06-25 16:26:49 +00:00
depends="python3"
makedepends="py3-setuptools"
source="$pkgname-$pkgver.tar.gz::https://github.com/PabloCastellano/extract-dtb/archive/$pkgver.tar.gz"
2017-06-25 16:26:49 +00:00
options="!check"
build() {
python3 setup.py build
}
2017-06-25 16:26:49 +00:00
package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
# https://github.com/PabloCastellano/extract-dtb/issues/13
rm -v "$pkgdir"/usr/CHANGES.md "$pkgdir"/usr/LICENSE
2017-06-25 16:26:49 +00:00
}
sha512sums="
ceef6fe350ee657737e92faf57859da9d643ff9f66be25425759f0bd523669e982583969bf4f30d02c81d2e961bc26d7a581a446ca0957021cc95afdbe9ee63f extract-dtb-1.2.2.tar.gz
"