firmware/firmware-google-crosshatch-mainline-dtbo: fix linting issues (!873)

This commit is contained in:
Bart Ribbers 2020-01-09 18:35:27 +01:00 committed by Daniele Debernardi
parent 99ce00d112
commit 74b1554231
No known key found for this signature in database
GPG key ID: 5782FCF5DAE9AF60

View file

@ -1,31 +1,24 @@
# Contributor: Zhuowei Zhang <zhuoweizhang@yahoo.com>
pkgname=firmware-google-crosshatch-mainline-dtbo pkgname=firmware-google-crosshatch-mainline-dtbo
pkgver=1 pkgver=1
pkgrel=0 pkgrel=1
_commit="20324c21169622e7c68eb36524c74fb1da8837d5"
pkgdesc="dtbo.img needed to boot mainline" pkgdesc="dtbo.img needed to boot mainline"
url="https://gitlab.com/zhuowei/dtbo-google-crosshatch-mainline" url="https://gitlab.com/zhuowei/dtbo-google-crosshatch-mainline"
arch="noarch" arch="noarch"
license="GPL-2.0" license="GPL-2.0-only"
depends=""
makedepends="dtc android-mkdtimg" makedepends="dtc android-mkdtimg"
install="" source="https://gitlab.com/zhuowei/dtbo-google-crosshatch-mainline/-/archive/$_commit.tar.gz"
_commit="20324c21169622e7c68eb36524c74fb1da8837d5" options="!check !archcheck !split"
source="
https://gitlab.com/zhuowei/dtbo-google-crosshatch-mainline/-/archive/$_commit/$_commit.tar.gz
"
builddir="$srcdir/dtbo-google-crosshatch-mainline-$_commit" builddir="$srcdir/dtbo-google-crosshatch-mainline-$_commit"
build() { build() {
cd "$builddir"
dtc -O dtb -o sdm845-c1-dvt1.1.dtbo -b 0 -@ sdm845-c1-dvt1.1.dts dtc -O dtb -o sdm845-c1-dvt1.1.dtbo -b 0 -@ sdm845-c1-dvt1.1.dts
mkdtimg cfg_create dtbo.img dtboimg.cfg mkdtimg cfg_create dtbo.img dtboimg.cfg
} }
check() {
cd "$builddir"
}
package() { package() {
install -D -m644 "$builddir"/dtbo.img \ install -D -m644 dtbo.img \
"$pkgdir"/boot/dtbo-google-crosshatch-mainline.img "$pkgdir"/boot/dtbo-google-crosshatch-mainline.img
} }