diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2015-10-05 14:58:53 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2015-10-05 14:59:31 -0300 |
commit | 008f5ec220ad8de000f1e5fbf13605930c8fbe9a (patch) | |
tree | f87a37a2c16f7db076a1a2a1af8237e813596f02 /libre/cbootimage | |
parent | a705db4456c293f0988f9bdcb6d50d22bc1fdfc7 (diff) | |
download | abslibre-008f5ec220ad8de000f1e5fbf13605930c8fbe9a.tar.gz abslibre-008f5ec220ad8de000f1e5fbf13605930c8fbe9a.tar.bz2 abslibre-008f5ec220ad8de000f1e5fbf13605930c8fbe9a.zip |
add cbootimage to [libre]
Diffstat (limited to 'libre/cbootimage')
-rw-r--r-- | libre/cbootimage/PKGBUILD | 33 |
1 files changed, 33 insertions, 0 deletions
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 <kevin@archlinuxarm.org> + +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 +} |