pkgname=julia-git-dbus_jll-src
pkgver=1.16.2+0
_commit=4761aae2171e009ac9f80bd5e41074045fe1a68c
pkgrel=3
pkgdesc="Dbus_jll.jl"
url="https://github.com/JuliaBinaryWrappers/Dbus_jll.jl.git"
arch=('any')
license=('MIT')
makedepends=(git julia-pkg-scripts)
depends=(julia-git dbus)
source=("git+https://github.com/JuliaBinaryWrappers/Dbus_jll.jl.git#commit=$_commit"
        jll.toml)
sha256sums=('17137c9a41be6a0f4250787529d7f225bfabcaa2582e8f6d6ebbab9d7a589a39'
            '0020642e5ba339901d32ec2638902cff5d22500b907a7e1924db4ffea610410f')

build() {
  cd Dbus_jll.jl

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

package() {
  cd Dbus_jll.jl

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