2020-01-05 18:32:10 +00:00
|
|
|
# Maintainer: Pablo Castellano <pablo@anche.no>
|
2017-06-25 16:26:49 +00:00
|
|
|
pkgname=extract-dtb
|
2021-07-18 22:05:18 +00:00
|
|
|
pkgver=1.2.2
|
|
|
|
pkgrel=0
|
2020-01-05 18:32:10 +00:00
|
|
|
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"
|
2020-01-05 18:32:10 +00:00
|
|
|
license="GPL-3.0-or-later"
|
2017-06-25 16:26:49 +00:00
|
|
|
depends="python3"
|
2021-07-18 22:05:18 +00:00
|
|
|
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"
|
|
|
|
|
2021-07-18 22:05:18 +00:00
|
|
|
build() {
|
|
|
|
python3 setup.py build
|
|
|
|
}
|
|
|
|
|
2017-06-25 16:26:49 +00:00
|
|
|
package() {
|
2021-07-18 22:05:18 +00:00
|
|
|
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
|
|
|
}
|
|
|
|
|
2021-07-18 22:05:18 +00:00
|
|
|
sha512sums="
|
|
|
|
ceef6fe350ee657737e92faf57859da9d643ff9f66be25425759f0bd523669e982583969bf4f30d02c81d2e961bc26d7a581a446ca0957021cc95afdbe9ee63f extract-dtb-1.2.2.tar.gz
|
|
|
|
"
|