diff options
-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 } |