pkgname=julia-git-chunkcodeclibzstd-src
pkgver=1.0.0
_commit=2fc3813d192bb4d5e5c093aed095321c9a328048
pkgrel=1
pkgdesc="ChunkCodecLibZstd.jl"
url="https://github.com/JuliaIO/ChunkCodecs.jl.git"
arch=('any')
license=('MIT')
makedepends=(git julia-pkg-scripts)
depends=(julia-git)
source=("git+https://github.com/JuliaIO/ChunkCodecs.jl.git#commit=$_commit")
sha256sums=('9928f1b3b8a2b97f67313db9fc2667f1c6b373e69eafe414c0a366d7a07ef1f8')

package() {
  cd ChunkCodecs.jl/LibZstd

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