void-packages/srcpkgs/sc3-plugins/template

26 lines
839 B
Bash

# Template file for 'sc3-plugins'
pkgname=sc3-plugins
version=3.9.1
revision=1
only_for_archs="i686 x86_64"
build_style=cmake
configure_args="-DSC_PATH=$XBPS_BUILDDIR/${pkgname}/SuperCollider-Source -DSUPERNOVA=ON"
hostmakedepends="pkg-config git"
makedepends="fftw-devel"
depends="supercollider"
short_desc="Extension plugins for the SuperCollider3 audio synthesis server"
maintainer="Jarbowski <jarbowski@cock.lu>"
license="GPL-2"
homepage="https://github.com/supercollider/sc3-plugins"
wrksrc=${pkgname}
do_fetch() {
git clone ${homepage}
cd ${wrksrc}
git checkout Version-${version}
git submodule update --init --recursive
xbps-uhelper fetch https://github.com/supercollider/supercollider/releases/download/Version-${version}/SuperCollider-${version}-Source-linux.tar.bz2
tar xf SuperCollider-${version}-Source-linux.tar.bz2
}