pkgname=julia-git-preallocationtools-src
pkgver=1.4.1
_commit=66a19104c5c4eb04b53bbb86c36b71154e38c3b9
pkgrel=1
pkgdesc="PreallocationTools.jl"
url="https://github.com/SciML/PreallocationTools.jl.git"
arch=('any')
license=('MIT')
makedepends=(git julia-pkg-scripts)
depends=(julia-git)
source=("git+https://github.com/SciML/PreallocationTools.jl.git#commit=$_commit")
sha256sums=('945ca8afb1cbc813e0a46333c080ec74e10e9681979b599f3fe04ae4ec6e0011')

package() {
  cd PreallocationTools.jl

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