# Maintainer: Mathieu Tortuyaux pkgname=inframap pkgver=0.6.7 pkgrel=1 epoch=0 pkgdesc="Read your tfstate or HCL to generate a graph specific for each provider, showing only the resources that are most important/relevant" arch=('i386' 'x86_64') url="https://github.com/cycloidio/$pkgname" license=('MIT') source_x86_64=("https://github.com/cycloidio/$pkgname/releases/download/v$pkgver/$pkgname-linux-amd64.tar.gz") source_i386=("https://github.com/cycloidio/$pkgname/releases/download/v$pkgver/$pkgname-linux-386.tar.gz") sha256sums_i386=('6aa5f996ae487fd58cd72a1ee2adef0805d146edaabe9ada62c07a1f5c543471') sha256sums_x86_64=('ef711fda530fe49cd89967ea43fac593b57be3a65e9dca77df973727f1dec3de') package() { case $CARCH in "x86_64") install -Dm755 "$srcdir/$pkgname-linux-amd64" "$pkgdir/usr/bin/$pkgname" ;; "i386") install -Dm755 "$srcdir/$pkgname-linux-386" "$pkgdir/usr/bin/$pkgname" ;; esac }