pkgname=mkbootimg-osm0sis pkgver=2018.05.10 pkgrel=0 pkgdesc="Android bootimg tools (maintained fork of the C version, see #441)" url="https://github.com/osm0sis/mkbootimg" arch="all" license="APACHE2" depends="" provides="mkbootimg=$pkgver unpackbootimg=$pkgver" replaces="mkbootimg" subpackages="" source="$pkgname-$pkgver.tar.gz::https://github.com/osm0sis/mkbootimg/archive/$pkgver.tar.gz" options="!check" builddir="$srcdir/mkbootimg-$pkgver" build() { cd "$builddir" make -j1 } package() { install -Dm755 "$builddir/mkbootimg" "${pkgdir}/usr/bin/mkbootimg-osm0sis" install -Dm755 "$builddir/unpackbootimg" "${pkgdir}/usr/bin/unpackbootimg" } sha512sums="2f375b104f6a976c0e395afd4654f3d25aa3d786969150b342fa1020ef82dce6402cb9cc977c0ecbd421213eecaeedfce98ef1fc7d9105579ffee1e0d29becd6 mkbootimg-osm0sis-2018.05.10.tar.gz"