pkgname=julia-git-madnlp-src
pkgver=0.10.1
_commit=fab5b299677a5c18ddf2fbc8ad5859372d1b633d
pkgrel=1
pkgdesc="MadNLP.jl"
url="https://github.com/MadNLP/MadNLP.jl.git"
arch=('any')
license=('MIT')
makedepends=(git julia-pkg-scripts)
depends=(julia-git)
source=("git+https://github.com/MadNLP/MadNLP.jl.git#commit=$_commit")
sha256sums=('cc812e88e74b79ba47337295fcb7d8b57bd2c1b1f8a88e20884f76383fad1863')

package() {
  cd MadNLP.jl

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