pkgname=julia-git-qoi-src
pkgver=1.0.2
_commit=b30027e61ef99d5314e7cf2eee8bfb71459dc585
pkgrel=1
pkgdesc="QOI.jl"
url="https://github.com/KristofferC/QOI.jl.git"
arch=('any')
license=('MIT')
makedepends=(git julia-pkg-scripts)
depends=(julia-git)
source=("git+https://github.com/KristofferC/QOI.jl.git#commit=$_commit")
sha256sums=('16ece1f309f442a35f18153c125fba2fc7b98f44aed66bde9eeb8bf4d5a62f74')

package() {
  cd QOI.jl

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