mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
33 lines
653 B
Bash
33 lines
653 B
Bash
# Tegra BCT and bootable flash image generator/compiler
|
|
# Maintainer: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
|
|
buildarch=4
|
|
|
|
pkgname=cbootimage
|
|
pkgver=r79.e7d840c
|
|
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
|
|
}
|