From dae33c823b717626c7e9cef5f6edec5cb6f57a32 Mon Sep 17 00:00:00 2001 From: Andreas Grapentin Date: Tue, 23 May 2017 09:06:35 +0200 Subject: cbootimage: fixing pkgbuild and moving to an actual release --- libre/cbootimage/PKGBUILD | 37 +++++++++++++++---------------------- 1 file changed, 15 insertions(+), 22 deletions(-) (limited to 'libre/cbootimage') diff --git a/libre/cbootimage/PKGBUILD b/libre/cbootimage/PKGBUILD index 0da635fe7..d0aceb7e5 100644 --- a/libre/cbootimage/PKGBUILD +++ b/libre/cbootimage/PKGBUILD @@ -1,33 +1,26 @@ -# Tegra BCT and bootable flash image generator/compiler -# Maintainer (Arch): Kevin Mihelich - -buildarch=4 +# Maintainer: Andreas Grapentin +# Maintainer (AUR): lks pkgname=cbootimage -pkgver=r68.b7d5b2d +pkgver=1.7 pkgrel=1 -pkgdesc="Tegra BCT and bootable flash image generator/compiler" -arch=('armv7h') -url="https://github.com/NVIDIA/cbootimage.git" -makedepends=('git') +epoch=1 +pkgdesc="Tools to dump and generate boot config table on Tegra devices" +arch=('i686' 'x86_64' 'armv7h') license=('GPL') -source=("git+https://github.com/NVIDIA/cbootimage.git") -md5sums=('SKIP') +url="http://http.download.nvidia.com/tegra-public-appnotes/bct-overview.html" +makedepends=('automake' 'autoconf') +source=("https://github.com/NVIDIA/cbootimage/archive/v${pkgver}.tar.gz") +sha256sums=('373c108d7b6778c62a33e59ad0cd5ea9ebb379319a0c8b4cf469eaa8bec5521b') -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 + cd "${pkgname}-${pkgver}" + autoreconf --install --symlink + ./configure --prefix=/usr } package() { - cd cbootimage - - make DESTDIR="${pkgdir}" install + cd "${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install } -- cgit v1.2.3