pkgname=julia-git-yaoplots-src
pkgver=0.9.6
_commit=1cc85a40c940a1bd36dd68dd7d1fef8cfd8ea193
pkgrel=1
pkgdesc="YaoPlots.jl"
url="https://github.com/QuantumBFS/Yao.jl.git"
arch=('any')
license=('MIT')
makedepends=(git julia-pkg-scripts)
depends=(julia-git)
source=("git+https://github.com/QuantumBFS/Yao.jl.git#commit=$_commit")
sha256sums=('d2fe538df0d5338680f95b330a5d3df0c5f0cd4530f05dbcb5dade52702b0240')

package() {
  cd Yao.jl/lib/YaoPlots

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