diff options
author | Andreas Grapentin <andreas@grapentin.org> | 2017-05-23 09:06:35 +0200 |
---|---|---|
committer | Andreas Grapentin <andreas@grapentin.org> | 2017-05-23 09:07:13 +0200 |
commit | dae33c823b717626c7e9cef5f6edec5cb6f57a32 (patch) | |
tree | 225b47f061d2009d5f78c8321952568d0f3db2ff /libre/cbootimage | |
parent | ee758d41b02d6d88584613e81af8febfb61d3b9f (diff) | |
download | abslibre-dae33c823b717626c7e9cef5f6edec5cb6f57a32.tar.gz abslibre-dae33c823b717626c7e9cef5f6edec5cb6f57a32.tar.bz2 abslibre-dae33c823b717626c7e9cef5f6edec5cb6f57a32.zip |
cbootimage: fixing pkgbuild and moving to an actual release
Diffstat (limited to 'libre/cbootimage')
-rw-r--r-- | libre/cbootimage/PKGBUILD | 37 |
1 files changed, 15 insertions, 22 deletions
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 <kevin@archlinuxarm.org> - -buildarch=4 +# Maintainer: Andreas Grapentin <andreas@grapentin.org> +# Maintainer (AUR): lks <lukas dot graetz at web dot de> 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 } |