# $Id: PKGBUILD 76163 2012-09-12 11:20:01Z arodseth $ # Maintainer: Alexander Rødseth # Contributor: Laurent Carlier # Contributor: Brad Fanella # Contributor: SpepS # Contributor: Jeff Mickey # Contributor: tardo pkgname=chuck pkgver=1.3.1.0 pkgrel=1 pkgdesc="Concurrent, on-the-fly audio programming language" arch=('x86_64' 'i686') url="http://chuck.cs.princeton.edu/" license=('GPL') depends=('gcc-libs' 'libsndfile') # base-devel #makedepends=('bison' 'flex') source=("http://chuck.cs.princeton.edu/release/files/$pkgname-$pkgver.tgz") sha256sums=('43af7e06f06932cd3afde9facb17c83530e0fa45826b1f3ea04496f10f009d0a') build() { cd "$srcdir/$pkgname-$pkgver/src" msg2 "Configuring..." CFLAGS+=' -fno-strict-aliasing -lpthread' CXXFLAGS+=' -fno-strict-aliasing -fpermissive -lpthread' msg2 "Compiling..." # Alternatives to linux-alsa are: linux-jack linux-oss osx win32 make linux-alsa } package() { cd "$srcdir/$pkgname-$pkgver/src" install -Dm755 chuck $pkgdir/usr/bin/chuck mkdir -p "$pkgdir/usr/share/doc/$pkgname" cp -r ../examples "$pkgdir/usr/share/doc/$pkgname/" } # vim:set ts=2 sw=2 et: