pmaports/main/extract-dtb/APKBUILD
Dzmitry 2fff60f075
main/extract-dtb: update pkgrel due to updated python version (MR 3867)
[ci:skip-build]: already built successfully in CI
2023-02-15 08:20:28 +01:00

26 lines
840 B
Text

# Maintainer: Pablo Castellano <pablo@anche.no>
pkgname=extract-dtb
pkgver=1.2.2
pkgrel=3
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-setuptools"
source="$pkgname-$pkgver.tar.gz::https://github.com/PabloCastellano/extract-dtb/archive/$pkgver.tar.gz"
options="!check"
build() {
python3 setup.py build
}
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
}
sha512sums="
ceef6fe350ee657737e92faf57859da9d643ff9f66be25425759f0bd523669e982583969bf4f30d02c81d2e961bc26d7a581a446ca0957021cc95afdbe9ee63f extract-dtb-1.2.2.tar.gz
"