2018-06-17 21:26:34 +00:00
|
|
|
pkgname=mkbootimg-osm0sis
|
2022-10-27 18:23:56 +00:00
|
|
|
pkgver=2021.08.06
|
2020-06-28 12:08:16 +00:00
|
|
|
pkgrel=0
|
2018-06-17 21:26:34 +00:00
|
|
|
pkgdesc="Android bootimg tools (maintained fork of the C version, see #441)"
|
|
|
|
url="https://github.com/osm0sis/mkbootimg"
|
|
|
|
arch="all"
|
2020-01-05 17:50:23 +00:00
|
|
|
license="Apache-2.0"
|
2022-10-27 18:23:56 +00:00
|
|
|
provides="mkbootimg=$pkgver-r$pkgrel unpackbootimg=$pkgver-r$pkgrel"
|
2018-06-17 21:26:34 +00:00
|
|
|
replaces="mkbootimg"
|
2021-11-27 17:57:50 +00:00
|
|
|
source="mkbootimg-$pkgver.tar.gz::https://github.com/osm0sis/mkbootimg/archive/refs/tags/$pkgver.tar.gz"
|
2018-06-17 21:26:34 +00:00
|
|
|
options="!check"
|
|
|
|
builddir="$srcdir/mkbootimg-$pkgver"
|
|
|
|
|
2019-10-13 20:01:32 +00:00
|
|
|
prepare() {
|
|
|
|
default_prepare
|
|
|
|
sed s/-Werror/-W/g -i Makefile
|
|
|
|
}
|
|
|
|
|
2018-06-17 21:26:34 +00:00
|
|
|
build() {
|
|
|
|
make -j1
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2020-06-28 12:08:16 +00:00
|
|
|
install -Dm755 mkbootimg "$pkgdir"/usr/bin/mkbootimg-osm0sis
|
|
|
|
install -Dm755 unpackbootimg "$pkgdir"/usr/bin/unpackbootimg
|
2018-06-17 21:26:34 +00:00
|
|
|
}
|
|
|
|
|
2022-10-27 18:23:56 +00:00
|
|
|
sha512sums="
|
|
|
|
53f1a22e05983a425508a594df63fb37e8f8f510d352c89f2b92b6a9312573e574eecac81c632db47d22b20c64b7caacbaaa98dc679de919fc4d87eedef4ac27 mkbootimg-2021.08.06.tar.gz
|
|
|
|
"
|