pkgname=julia-git-aws_c_http_jll-src
pkgver=0.10.13+0
_commit=19761bb1280f683d8095f48c41299bff92e296f5
pkgrel=1
pkgdesc="aws_c_http_jll.jl"
url="https://github.com/JuliaBinaryWrappers/aws_c_http_jll.jl.git"
arch=('any')
license=('MIT')
makedepends=(git julia-pkg-scripts)
depends=(julia-git aws-c-http)
source=("git+https://github.com/JuliaBinaryWrappers/aws_c_http_jll.jl.git#commit=$_commit"
        jll.toml)
sha256sums=('c8cca724881a57a79168f0204b9d890afb7fb5e810476b97bc6b2196d3fb9f12'
            '33308a05276f1aca6d8b5c484406da496d0170d91530a685e732729c70c041fe')

build() {
  cd aws_c_http_jll.jl

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

package() {
  cd aws_c_http_jll.jl

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