Skip to content

Commit

Permalink
ladspa_sdk: Update to 1.15
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexpux committed Feb 19, 2019
1 parent 08e4e03 commit ae6ffc9
Showing 1 changed file with 12 additions and 8 deletions.
20 changes: 12 additions & 8 deletions mingw-w64-ladspa-sdk/PKGBUILD
Expand Up @@ -3,18 +3,22 @@
_realname=ladspa-sdk
pkgbase=mingw-w64-${_realname}
pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}"
pkgver=1.13
pkgrel=2
pkgver=1.15
pkgrel=1
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')
source=("https://ladspa.org/download/ladspa_sdk_${pkgver}.tgz")
sha256sums=('4229959b09d20c88c8c86f4aa76427843011705df22d9c28b38359fd1829fded')
noextract=(ladspa_sdk_${pkgver}.tgz)

prepare() {
[[ -d ${srcdir}/ladspa_sdk_${pkgver} ]] && rm -rf ${srcdir}/ladspa_sdk_${pkgver}
tar -xzf ${srcdir}/ladspa_sdk_${pkgver}.tgz -C ${srcdir} || true
}

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

0 comments on commit ae6ffc9

Please sign in to comment.