PKGBUILDs/alarm/cbootimage/PKGBUILD

34 lines
653 B
Bash
Raw Normal View History

2014-11-22 22:38:31 +00:00
# Tegra BCT and bootable flash image generator/compiler
# Maintainer: Kevin Mihelich <kevin@archlinuxarm.org>
buildarch=4
pkgname=cbootimage
2016-12-03 03:08:47 +00:00
pkgver=r83.64045f9
2014-11-22 22:38:31 +00:00
pkgrel=1
pkgdesc="Tegra BCT and bootable flash image generator/compiler"
arch=('armv7h')
url="https://github.com/NVIDIA/cbootimage.git"
makedepends=('git')
license=('GPL')
source=("git+https://github.com/NVIDIA/cbootimage.git")
md5sums=('SKIP')
pkgver() {
cd cbootimage
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd cbootimage
./autogen.sh --prefix=/usr
make
}
package() {
cd cbootimage
make DESTDIR="${pkgdir}" install
}