summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: ef7a545592207cd2d7f4b7677ac7f0a1edc51406 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Maintainer: robertfoster

pkgname=extract-dtb
pkgver=1.2.2
pkgrel=1
pkgdesc="Tool to split a kernel image with appended dtbs into separated kernel and dtb files"
arch=('any')
url="https://github.com/PabloCastellano/extract-dtb"
license=('GPL3')
depends=('python')
makedepends=('python-setuptools')

source=("${url}/archive/refs/tags/$pkgver.tar.gz")

build() {
  cd "${pkgname}-${pkgver}"
  python setup.py build
}

package() {
  cd "${pkgname}-${pkgver}"
  python setup.py install --root="${pkgdir}" --optimize=1
  rm ${pkgdir}/usr/{CHANGES.md,LICENSE}
}

sha256sums=('6d67cb875ba936a839021b32fd6c00e876a9a400e6b4d4989310c276c6be6b78')