# Maintainer: Jeff Hubbard <musikernel@gmail.com>

_realname=ladspa-sdk
pkgbase=mingw-w64-${_realname}
pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}"
pkgver=1.13
pkgrel=2
pkgdesc="Linux Audio Developer's Simple Plugin API (LADSPA) SDK (mingw-w64)"
arch=('any')
url="https://www.ladspa.org/"
license=("LGPL")
# bsdtar fails to untar their SDK tarball because of a symlink, so just
# download the header directly
source=("https://www.ladspa.org/ladspa_sdk/ladspa.h.txt")
sha256sums=('1bd380baaf018be5e05323c192444adf058ed8a35b8cbf4c8a11519fc81cb036')

package() {
  install -d "${pkgdir}/${MINGW_PREFIX}/include"
  cp "${srcdir}/ladspa.h.txt" "${pkgdir}/${MINGW_PREFIX}/include/ladspa.h"
}
