pkgname=julia-git-clp_jll-src
pkgver=100.1700.1000+1
_commit=030861e626227232ec7dbe543162f1701531066e
pkgrel=1
pkgdesc="Clp_jll.jl"
url="https://github.com/JuliaBinaryWrappers/Clp_jll.jl.git"
arch=('any')
license=('MIT')
makedepends=(git julia-pkg-scripts)
depends=(julia-git coin-or-clp)
source=("git+https://github.com/JuliaBinaryWrappers/Clp_jll.jl.git#commit=$_commit"
        jll.toml)
sha256sums=('633abf25e766c7da8185ac845bec374299598428ecef9f80845abe97b615cba5'
            '762b2eac54d2726a427497b7466b94c3e899dc51909ee03d2a6ec553d7e68982')

build() {
  cd Clp_jll.jl

  julia /usr/lib/julia/julia-gen-jll.jl Clp_jll ../jll.toml
}

package() {
  cd Clp_jll.jl

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