summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 91b1f7b6fa1fd8b961e409bcf2cc7db53ee496b0 (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
36
# Maintainer: Mads Kjeldgaard<mail@madskjeldgaard.dk>
pkgname=supercollider-mkfaustplugins-git
pkgver=r12.15969fd
pkgrel=2
pkgdesc='SuperCollider plugins written in Faust'
arch=('any')
url='https://github.com/madskjeldgaard/mkfaustplugins'
license=('GPL')
groups=('pro-audio' 'supercollider-plugins')
depends=('supercollider')
makedepends=('git' 'cmake' 'faust' 'ruby-rexml')
optdepends=()
source=("$pkgname"::git+$url.git)
md5sums=('SKIP')

pkgver() {
	cd "$srcdir/$pkgname"
	printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

build() {
		cd "$srcdir/$pkgname/"
		make install
}


package() {

	DEST="$pkgdir/usr/share/SuperCollider/Extensions"
	cd "$srcdir/$pkgname"

	mkdir -p "$DEST"
	cp -r -av "install/MKFaustPlugins" "$DEST"

}