pkgname=julia-git-aws_c_auth_jll-src
pkgver=0.10.1+0
_commit=4515b663d9f8f9a7e55965763f578b23888a412d
pkgrel=1
pkgdesc="aws_c_auth_jll.jl"
url="https://github.com/JuliaBinaryWrappers/aws_c_auth_jll.jl.git"
arch=('any')
license=('MIT')
makedepends=(git julia-pkg-scripts)
depends=(julia-git aws-c-auth)
source=("git+https://github.com/JuliaBinaryWrappers/aws_c_auth_jll.jl.git#commit=$_commit"
        jll.toml)
sha256sums=('08c8edb0c0300231a199c51a8580e3521221bf442b195290bd2b4998431cb773'
            'f519a62b1d07a640fd98f922dd4b3515bb96ccca01aa3097b91e04bb895f65b2')

build() {
  cd aws_c_auth_jll.jl

  julia /usr/lib/julia/julia-gen-jll.jl aws_c_auth_jll ../jll.toml
}

package() {
  cd aws_c_auth_jll.jl

  JULIA_INSTALL_SRCPKG=1 . /usr/lib/julia/julia-install-pkg.sh aws_c_auth_jll "${pkgdir}" "${pkgname}" julia-git
}
