main/mkbootimg-osm0sis: fix linting issues (!872)

This commit is contained in:
Bart Ribbers 2020-01-05 18:50:23 +01:00
parent 8afc6db4da
commit fe52ba5c0e
No known key found for this signature in database
GPG key ID: 699D16185DAFAE61

View file

@ -1,14 +1,13 @@
# Contributor: Oliver Smith <ollieparanoid@postmarketos.org>
pkgname=mkbootimg-osm0sis pkgname=mkbootimg-osm0sis
pkgver=2019.09.20 pkgver=2019.09.20
pkgrel=0 pkgrel=1
pkgdesc="Android bootimg tools (maintained fork of the C version, see #441)" pkgdesc="Android bootimg tools (maintained fork of the C version, see #441)"
url="https://github.com/osm0sis/mkbootimg" url="https://github.com/osm0sis/mkbootimg"
arch="all" arch="all"
license="APACHE2" license="Apache-2.0"
depends=""
provides="mkbootimg=$pkgver unpackbootimg=$pkgver" provides="mkbootimg=$pkgver unpackbootimg=$pkgver"
replaces="mkbootimg" replaces="mkbootimg"
subpackages=""
source="$pkgname-$pkgver.tar.gz::https://github.com/osm0sis/mkbootimg/archive/$pkgver.tar.gz" source="$pkgname-$pkgver.tar.gz::https://github.com/osm0sis/mkbootimg/archive/$pkgver.tar.gz"
options="!check" options="!check"
builddir="$srcdir/mkbootimg-$pkgver" builddir="$srcdir/mkbootimg-$pkgver"
@ -19,13 +18,12 @@ prepare() {
} }
build() { build() {
cd "$builddir"
make -j1 make -j1
} }
package() { package() {
install -Dm755 "$builddir/mkbootimg" "${pkgdir}/usr/bin/mkbootimg-osm0sis" install -Dm755 "$builddir/mkbootimg" "$pkgdir/usr/bin/mkbootimg-osm0sis"
install -Dm755 "$builddir/unpackbootimg" "${pkgdir}/usr/bin/unpackbootimg" install -Dm755 "$builddir/unpackbootimg" "$pkgdir/usr/bin/unpackbootimg"
} }
sha512sums="ec396b137d4159a3ae0a0d40e25904c7d954ed6e0ce32f4ebb8fc885fd1d3a948a56e41e3404597a8b3768a3e468a133b4db99ef85678ffffc13ac17034b9185 mkbootimg-osm0sis-2019.09.20.tar.gz" sha512sums="ec396b137d4159a3ae0a0d40e25904c7d954ed6e0ce32f4ebb8fc885fd1d3a948a56e41e3404597a8b3768a3e468a133b4db99ef85678ffffc13ac17034b9185 mkbootimg-osm0sis-2019.09.20.tar.gz"