2017-05-26 20:26:25 +00:00
|
|
|
pkgname=mkbootimg
|
2018-02-11 11:41:41 +00:00
|
|
|
pkgver=2017.12.13
|
|
|
|
pkgrel=0
|
|
|
|
pkgdesc="Android bootimg creation tool"
|
|
|
|
url="https://github.com/osm0sis/mkbootimg"
|
|
|
|
arch="all"
|
2017-05-26 20:26:25 +00:00
|
|
|
license="APACHE2"
|
2018-02-11 11:41:41 +00:00
|
|
|
depends=""
|
|
|
|
provides="unpackbootimg"
|
2017-05-26 20:26:25 +00:00
|
|
|
subpackages=""
|
2018-02-11 11:41:41 +00:00
|
|
|
source="$pkgname.tar.gz::https://github.com/osm0sis/$pkgname/archive/$pkgver.tar.gz"
|
2017-05-26 20:26:25 +00:00
|
|
|
options="!check"
|
2018-02-11 11:41:41 +00:00
|
|
|
workdir="$pkgname-$pkgver"
|
2017-05-26 20:26:25 +00:00
|
|
|
|
|
|
|
build() {
|
2018-02-11 11:41:41 +00:00
|
|
|
make -j1
|
2017-05-26 20:26:25 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2018-02-11 11:41:41 +00:00
|
|
|
install -Dm755 "$srcdir/$workdir/mkbootimg" "${pkgdir}/usr/bin/mkbootimg"
|
|
|
|
install -Dm755 "$srcdir/$workdir/unpackbootimg" "${pkgdir}/usr/bin/unpackbootimg"
|
2017-05-26 20:26:25 +00:00
|
|
|
}
|
|
|
|
|
2018-02-11 11:41:41 +00:00
|
|
|
sha512sums="39820ee581f007b6e7c69f83ae6d54e99d32869604d1a960421c0c588fa55917f686104782b1e5ff5cb586f7efb19e9b9db11e69031cbb5e22462ab9d39cdc20 mkbootimg.tar.gz"
|