pkgname=julia-git-tracker-src
pkgver=0.2.38
_commit=dda48e7b1d1d40eb0b6ad0ed572c65e68f9631d5
pkgrel=1
pkgdesc="Tracker.jl"
url="https://github.com/FluxML/Tracker.jl.git"
arch=('any')
license=('MIT')
makedepends=(git julia-pkg-scripts)
depends=(julia-git)
source=("git+https://github.com/FluxML/Tracker.jl.git#commit=$_commit")
sha256sums=('07fbdaff6e7d924fbf1576cf3ac2723a89a83046b2d9e95d73124d08efb9ed65')

package() {
  cd Tracker.jl

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