pkgname=julia-git-mods-src
pkgver=2.2.6
_commit=1775002327f560c922659408641e47320211b361
pkgrel=1
pkgdesc="Mods.jl"
url="https://github.com/scheinerman/Mods.jl.git"
arch=('any')
license=('MIT')
makedepends=(git julia-pkg-scripts)
depends=(julia-git)
source=("git+https://github.com/scheinerman/Mods.jl.git#commit=$_commit")
sha256sums=('2f8dd609ca43a42bf6de7d85730afd3104f08d1d3f96e416cf08a67a40f96b63')

package() {
  cd Mods.jl

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