blob: 0229ed68be2d6b710969f1ae92eb79a57e9b5653 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# Maintainer: Mads Kjeldgaard<mail@madskjeldgaard.dk>
pkgname=supercollider-squinewave-git
pkgver=r24.ce2f19e
pkgrel=1
pkgdesc='A SuperCollider plugin with sine-square-saw-pulse morphing oscillator with hardsync'
arch=('any')
url='https://github.com/required-field/squinewave'
license=('GPL')
groups=('pro-audio' 'supercollider-plugins')
depends=('supercollider')
makedepends=('git' 'cmake' 'supercollider-headers-git')
optdepends=()
source=("$pkgname"::git+$url.git)
md5sums=('SKIP')
pkgver() {
cd "$srcdir/$pkgname/supercollider"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
SC_SRC="/usr/share/supercollider-headers"
cd "$srcdir/$pkgname/supercollider"
mkdir build; cd build
DEST="$pkgdir/usr/share/SuperCollider/Extensions"
cmake -DSC_PATH=$SC_SRC -DCMAKE_BUILD_TYPE=RELEASE -DCMAKE_INSTALL_PREFIX=$DEST ..
make
}
package() {
cd "$srcdir/$pkgname/supercollider/build"
cmake --build . --config Release --target install
}
|