pkgname=julia-git-macrotools-src
pkgver=0.5.16
_commit=87ef1f8a7328174dee5df5fa7cfc5b7bb82f01a7
pkgrel=1
pkgdesc="MacroTools.jl"
url="https://github.com/FluxML/MacroTools.jl.git"
arch=('any')
license=('MIT')
makedepends=(git julia-pkg-scripts)
depends=(julia-git)
source=("git+https://github.com/FluxML/MacroTools.jl.git#commit=$_commit")
sha256sums=('b1d452433b3f986956f32e166b955a96e97afa213502da236b643fabf41aa5b8')

package() {
  cd MacroTools.jl

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