PKGBUILDs/community/supercollider/PKGBUILD

41 lines
1.3 KiB
Bash
Raw Normal View History

2013-11-29 21:55:30 +00:00
# $Id$
2013-11-05 02:39:32 +00:00
# Maintainer : speps <speps at aur dot archlinux dot org>
2013-11-29 21:55:30 +00:00
# Contributor: osc <farid at archlinux-br.org>
2013-11-05 02:39:32 +00:00
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
# - added recommended cmake defines (last two lines)
2013-11-05 02:39:32 +00:00
_name=SuperCollider
pkgname=supercollider
2013-11-29 21:55:30 +00:00
pkgver=3.6.6
2013-11-05 02:39:32 +00:00
pkgrel=1
pkgdesc="An environment and programming language for real time audio synthesis and algorithmic composition"
arch=('i686' 'x86_64')
url="http://supercollider.sourceforge.net/"
license=('GPL3')
depends=('jack' 'fftw' 'cwiid' 'qtwebkit')
makedepends=('cmake' 'ruby' 'vim' 'emacs')
optdepends=('emacs: emacs interface'
'gedit: gedit interface'
'vim: vim interface'
'ruby: vim support')
install="$pkgname.install"
source=("http://download.sourceforge.net/project/$pkgname/Source/${pkgver%.*}/$_name-$pkgver-Source-linux.tar.bz2")
2013-11-29 21:55:30 +00:00
md5sums=('14d6063933230c74e42f5923a811e7c6')
2013-11-05 02:39:32 +00:00
build() {
cd "$srcdir/$_name-Source"
2013-11-29 21:55:30 +00:00
[ -d b ] || mkdir b && cd b
2013-11-05 02:39:32 +00:00
cmake .. -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-DLIBSCSYNTH=ON \
-DSSE=OFF -DSSE2=OFF -DSUPERNOVA=OFF -DNOVA_SIMD=ON -DNATIVE=OFF \
-DCMAKE_C_FLAGS="${CFLAGS}" -DCMAKE_CXX_FLAGS="${CXXFLAGS}"
2013-11-05 02:39:32 +00:00
make
}
package() {
2013-11-29 21:55:30 +00:00
cd "$srcdir/$_name-Source/b"
2013-11-05 02:39:32 +00:00
make DESTDIR="$pkgdir/" install
}