pkgname=julia-git-libgpg_error_jll-src
pkgver=1.60.0+0
_commit=ea3af9cc241d932531065000c5d1abf5a711fcf7
pkgrel=1
pkgdesc="Libgpg_error_jll.jl"
url="https://github.com/JuliaBinaryWrappers/Libgpg_error_jll.jl.git"
arch=('any')
license=('MIT')
makedepends=(git julia-pkg-scripts)
depends=(julia-git libgpg-error)
source=("git+https://github.com/JuliaBinaryWrappers/Libgpg_error_jll.jl.git#commit=$_commit"
        jll.toml)
sha256sums=('5f34f3fc0912da6aa9f29a115b6f307dc2eef1f422c1962d39f0098701f46224'
            '9796bc91867ccdc32afcc0308e672932e1982a8060668e4dbcd753e6cab2ec1b')

build() {
  cd Libgpg_error_jll.jl

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

package() {
  cd Libgpg_error_jll.jl

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