pkgname: vst3sdk pkgver: '3.8.1_build_84' pkgrel: '1' pkgdesc: 'VST 3 Plug-In SDK' url: 'https://github.com/steinbergmedia/vst3sdk' arch: x86_64 depends: [] makedepends: - git - rsync source: - 'vst3sdk-3.7.7_build_19-public_sdk_gcc13.patch' sha256sums: - SKIP build: | git clone https://github.com/steinbergmedia/${pkgname} cd ${pkgname} git checkout v${pkgver} git submodule init git submodule update cd public.sdk patch -Np1 -i ../../vst3sdk-3.7.7_build_19-public_sdk_gcc13.patch mkdir -p ${PKGDIR}/usr/lib/pkgconfig echo "Name: vst3sdk Description: VST 3 Plug-In SDK Version: ${pkgver} Cflags: -I/usr/share/vst3sdk Libs:" > ${PKGDIR}/usr/lib/pkgconfig/${pkgname}.pc cd ${pkgname} install -vdm 755 ${PKGDIR}/usr/share/${pkgname}/ rsync -r --exclude doc \ --exclude .git \ --exclude .github \ --exclude .gitignore \ --exclude .gitattributes . \ ${PKGDIR}/usr/share/${pkgname}/ install -vDm 644 cmake/modules/*.cmake -t ${PKGDIR}/usr/lib/cmake/${pkgname}/ install -vdm 755 ${PKGDIR}/usr/share/doc/${pkgname}/ cd doc rsync -r --exclude .git \ --exclude .github \ --exclude .gitignore \ --exclude .gitattributes . \ ${PKGDIR}/usr/share/doc/${pkgname}/ package: | true