summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorM0Rf302021-04-26 12:18:21 +0200
committerM0Rf302021-04-26 12:18:21 +0200
commitb8e45a9ff30b26b9939182026a746ef382c76baa (patch)
tree0e37b2adeef666b8da572a5df919536f511aba5d /PKGBUILD
downloadaur-b8e45a9ff30b26b9939182026a746ef382c76baa.tar.gz
extract-dtb: first commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD26
1 files changed, 26 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..d87223cf3ec
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,26 @@
+# Maintainer: robertfoster
+
+pkgname=extract-dtb
+pkgver=1.2.1
+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=('277689145b2ce11debf620ffc35206bd1f96b467adaca4cd113fd13f5027d79e')