pkgname=julia-git-flamegraphs-src
pkgver=1.2.0
_commit=c2c0213561a6e4898cc616f4ebb6da553d5bc830
pkgrel=1
pkgdesc="FlameGraphs.jl"
url="https://github.com/timholy/FlameGraphs.jl.git"
arch=('any')
license=('MIT')
makedepends=(git julia-pkg-scripts)
depends=(julia-git)
source=("git+https://github.com/timholy/FlameGraphs.jl.git#commit=$_commit")
sha256sums=('6dd74cfd66e40776f22b7130fbd5194c0f17e6cd1806392a566a64b92aa672e9')

package() {
  cd FlameGraphs.jl

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