blob: 4a0b6176960fef0969b165875e203d846bf7ee6c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
# Mantainer: Pellegrino Prevete <cGVsbGVncmlub3ByZXZldGVAZ21haWwuY29tCg== | base -d>
pkgname=mkbootfs
pkgver="4.4.4_r2.0.1"
pkgrel=1
pkgdesc='A tool to build android boot images.'
arch=('i686' 'x86_64')
url='https://android.googlesource.com/platform/system/core'
license=('GPL')
depends=()
makedepends=()
source=('git+https://android.googlesource.com/platform/system/core#tag=android-4.4.4_r2.0.1')
sha256sums=('SKIP')
build() {
cd core/libmincrypt
gcc -c *.c -I../include
ar rcs libmincrypt.a *.o
cd ../cpio/
gcc mkbootfs.c -o mkbootfs -I../include
}
package() {
install -Dm755 "../src/core/cpio/mkbootfs" -t "$pkgdir/usr/bin"
}
# vim: ts=2 sw=2 et:
|