pkgname=julia-git-aws_c_s3_jll-src
pkgver=0.12.3+0
_commit=c59e02a6ba3a7a958a477c4210d0f7cc6e2438b3
pkgrel=1
pkgdesc="aws_c_s3_jll.jl"
url="https://github.com/JuliaBinaryWrappers/aws_c_s3_jll.jl.git"
arch=('any')
license=('MIT')
makedepends=(git julia-pkg-scripts)
depends=(julia-git aws-c-s3)
source=("git+https://github.com/JuliaBinaryWrappers/aws_c_s3_jll.jl.git#commit=$_commit"
        jll.toml)
sha256sums=('1e53f91765c29023eaa44208cd51a606bd58d430d7934bdc281351439b1795b7'
            'fcd2650cf11c35b24e5819e081ed62bb77aa68adebd698959ecc725d901bb190')

build() {
  cd aws_c_s3_jll.jl

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

package() {
  cd aws_c_s3_jll.jl

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