2017-05-26 20:26:25 +00:00
|
|
|
pkgname=mkbootimg
|
2017-08-09 20:57:52 +00:00
|
|
|
pkgver=14.1
|
2017-05-26 20:26:25 +00:00
|
|
|
pkgrel=1
|
|
|
|
pkgdesc="Android bootimg (zimage + initramfs) creation tool"
|
2017-08-09 20:57:52 +00:00
|
|
|
url="https://github.com/LineageOS/android_system_core/blob/cm-14.1/mkbootimg/mkbootimg"
|
2017-05-26 20:26:25 +00:00
|
|
|
arch="noarch"
|
|
|
|
license="APACHE2"
|
|
|
|
depends="python3"
|
|
|
|
subpackages=""
|
2017-08-09 20:57:52 +00:00
|
|
|
source="$pkgname::https://raw.githubusercontent.com/LineageOS/android_system_core/cm-14.1/mkbootimg/mkbootimg"
|
2017-05-26 20:26:25 +00:00
|
|
|
options="!check"
|
|
|
|
|
|
|
|
build() {
|
|
|
|
sed -i -e 's./usr/bin/env python./usr/bin/env python3.' $srcdir/$pkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
install -Dm755 $srcdir/$pkgname $pkgdir/usr/bin/$pkgname
|
|
|
|
}
|
|
|
|
|
2017-08-09 20:57:52 +00:00
|
|
|
sha512sums="71ab9b6dfe19096bf6b33a8c46148dbe2b8b71fd693dcaf8cdba7a932e19bb7d29c3c245148a4b27119a6b883fc8f0ba04f5f815da0c40410b2b11d9fa1b7cd7 mkbootimg"
|