mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-24 19:55:26 +03:00
33 lines
924 B
Text
33 lines
924 B
Text
# Maintainer: Dzmitry Sankouski <dsankouski@gmail.com>
|
|
pkgname=extract-dtb
|
|
pkgver=1.2.2
|
|
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="GPL-3.0-or-later"
|
|
depends="python3"
|
|
makedepends="
|
|
py3-gpep517
|
|
py3-setuptools
|
|
py3-wheel
|
|
"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/PabloCastellano/extract-dtb/archive/$pkgver.tar.gz"
|
|
options="!check" # no tests
|
|
|
|
build() {
|
|
gpep517 build-wheel \
|
|
--wheel-dir dist \
|
|
--output-fd 3 3>&1 >&2
|
|
}
|
|
|
|
package() {
|
|
python3 -m installer -d "$pkgdir" \
|
|
dist/*.whl
|
|
# https://github.com/PabloCastellano/extract-dtb/issues/13
|
|
rm -v "$pkgdir"/usr/CHANGES.md "$pkgdir"/usr/LICENSE
|
|
}
|
|
|
|
sha512sums="
|
|
ceef6fe350ee657737e92faf57859da9d643ff9f66be25425759f0bd523669e982583969bf4f30d02c81d2e961bc26d7a581a446ca0957021cc95afdbe9ee63f extract-dtb-1.2.2.tar.gz
|
|
"
|