pkgname=julia-git-ffmpeg-src
pkgver=0.4.5
_commit=ef57f7dab01dcf7cebee1126b2b433aafc03eade
pkgrel=1
pkgdesc="FFMPEG.jl"
url="https://github.com/JuliaIO/FFMPEG.jl.git"
arch=('any')
license=('MIT')
makedepends=(git julia-pkg-scripts)
depends=(julia-git)
source=("git+https://github.com/JuliaIO/FFMPEG.jl.git#commit=$_commit")
sha256sums=('a6821cc3e4f6497d58bedc02ed414f83aa2de7d6bb6523d648e62f93592c8f33')

package() {
  cd FFMPEG.jl

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