pkgname=julia-git-wayland_jll-src
pkgver=1.24.0+0
_commit=0340ff674ae31d416e5d2048e24968b3062f3546
pkgrel=3
pkgdesc="Wayland_jll.jl"
url="https://github.com/JuliaBinaryWrappers/Wayland_jll.jl.git"
arch=('any')
license=('MIT')
makedepends=(git julia-pkg-scripts)
depends=(julia-git wayland)
source=("git+https://github.com/JuliaBinaryWrappers/Wayland_jll.jl.git#commit=$_commit"
        jll.toml)
sha256sums=('50ff1df80fdcb9565921571bed350a220db639b9a31a272fc60495a2db874de5'
            '55230c3c1d3be43862d6a8b3dee2b81cb2138087d5ef8908365ee23ea30dcf08')

build() {
  cd Wayland_jll.jl

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

package() {
  cd Wayland_jll.jl

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