pkgname=julia-git-cstparser-src
pkgver=3.5.0
_commit=815f371254fadba9f1dd25bba2f4b09a1c00cab7
pkgrel=1
pkgdesc="CSTParser.jl"
url="https://github.com/julia-vscode/CSTParser.jl.git"
arch=('any')
license=('MIT')
makedepends=(git julia-pkg-scripts)
depends=(julia-git)
source=("git+https://github.com/julia-vscode/CSTParser.jl.git#commit=$_commit")
sha256sums=('5ac5d360496374ce0229b2bbdc0e71159671a3f9c72ba6aebfb30823f3d19f70')

package() {
  cd CSTParser.jl

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