2018-06-17 21:26:34 +00:00
|
|
|
pkgname=mkbootimg-osm0sis
|
2019-10-13 20:01:32 +00:00
|
|
|
pkgver=2019.09.20
|
2020-01-05 17:50:23 +00:00
|
|
|
pkgrel=1
|
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"
|
2018-06-17 21:26:34 +00:00
|
|
|
provides="mkbootimg=$pkgver unpackbootimg=$pkgver"
|
|
|
|
replaces="mkbootimg"
|
|
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/osm0sis/mkbootimg/archive/$pkgver.tar.gz"
|
|
|
|
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-01-05 17:50:23 +00:00
|
|
|
install -Dm755 "$builddir/mkbootimg" "$pkgdir/usr/bin/mkbootimg-osm0sis"
|
|
|
|
install -Dm755 "$builddir/unpackbootimg" "$pkgdir/usr/bin/unpackbootimg"
|
2018-06-17 21:26:34 +00:00
|
|
|
}
|
|
|
|
|
2019-10-13 20:01:32 +00:00
|
|
|
sha512sums="ec396b137d4159a3ae0a0d40e25904c7d954ed6e0ce32f4ebb8fc885fd1d3a948a56e41e3404597a8b3768a3e468a133b4db99ef85678ffffc13ac17034b9185 mkbootimg-osm0sis-2019.09.20.tar.gz"
|