pkgname=mkbootimg-osm0sis pkgver=2020.05.18 pkgrel=0 pkgdesc="Android bootimg tools (maintained fork of the C version, see #441)" url="https://github.com/osm0sis/mkbootimg" arch="all" license="Apache-2.0" provides="mkbootimg=$pkgver unpackbootimg=$pkgver" replaces="mkbootimg" source="https://github.com/osm0sis/mkbootimg/archive/$pkgver/mkbootimg-$pkgver.tar.gz" options="!check" builddir="$srcdir/mkbootimg-$pkgver" prepare() { default_prepare sed s/-Werror/-W/g -i Makefile } build() { make -j1 } package() { install -Dm755 mkbootimg "$pkgdir"/usr/bin/mkbootimg-osm0sis install -Dm755 unpackbootimg "$pkgdir"/usr/bin/unpackbootimg } sha512sums="b9f1d0ccbe037e1f975392a9004e82f86cf05d4a6315646289d04d541372651d78dec591a6908ff18f9001abb0638698a0efd7908e5b43eed53e2721042482da mkbootimg-2020.05.18.tar.gz"