From 008f5ec220ad8de000f1e5fbf13605930c8fbe9a Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Mon, 5 Oct 2015 14:58:53 -0300 Subject: add cbootimage to [libre] --- libre/cbootimage/PKGBUILD | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 libre/cbootimage/PKGBUILD (limited to 'libre/cbootimage/PKGBUILD') diff --git a/libre/cbootimage/PKGBUILD b/libre/cbootimage/PKGBUILD new file mode 100644 index 000000000..0da635fe7 --- /dev/null +++ b/libre/cbootimage/PKGBUILD @@ -0,0 +1,33 @@ +# Tegra BCT and bootable flash image generator/compiler +# Maintainer (Arch): Kevin Mihelich + +buildarch=4 + +pkgname=cbootimage +pkgver=r68.b7d5b2d +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 +} -- cgit v1.2.3