pkgname=julia-git-metagraphs-src
pkgver=0.8.1
_commit=a5cad0d49ac485b31d75218b9d433b812fd286b8
pkgrel=1
pkgdesc="MetaGraphs.jl"
url="https://github.com/JuliaGraphs/MetaGraphs.jl.git"
arch=('any')
license=('MIT')
makedepends=(git julia-pkg-scripts)
depends=(julia-git)
source=("git+https://github.com/JuliaGraphs/MetaGraphs.jl.git#commit=$_commit")
sha256sums=('8e9a58fa33c4557e5bee08a802d1790f2cefdde7bd3356c70803f89e238ed715')

package() {
  cd MetaGraphs.jl

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