diff options
author | root <root@rshg054.dnsready.net> | 2012-01-16 23:15:11 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-01-16 23:15:11 +0000 |
commit | 08a16f35d70b750b4db213a4bfcbacf5b3be4d74 (patch) | |
tree | 90c7b6f80849c63a69d3c46d0f04fe23ebf0c099 /multilib-testing/chuck/PKGBUILD | |
parent | 0b31296d95d2e0f18abf69f30d0946e3a1f35672 (diff) |
Mon Jan 16 23:15:10 UTC 2012
Diffstat (limited to 'multilib-testing/chuck/PKGBUILD')
-rw-r--r-- | multilib-testing/chuck/PKGBUILD | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/multilib-testing/chuck/PKGBUILD b/multilib-testing/chuck/PKGBUILD new file mode 100644 index 000000000..2250f2e39 --- /dev/null +++ b/multilib-testing/chuck/PKGBUILD @@ -0,0 +1,41 @@ +# $Id: PKGBUILD 62100 2012-01-16 01:54:11Z heftig $ +# Maintainer: Brad Fanella <bradfanella@archlinux.us> +# Contributor: SpepS <dreamspepser at yahoo dot it> +# Contributor: Jeff Mickey <jeff@archlinux.org> +# Contributor: tardo <tardo@nagi-fanboi.net> + +pkgname=chuck +pkgver=1.2.1.3 +pkgrel=5.1 +pkgdesc="Concurrent, on-the-fly audio programming language." +arch=('i686' 'x86_64') +url="http://chuck.cs.princeton.edu/" +license=('GPL') +depends=('gcc-libs' 'libsndfile' 'alsa-lib') +makedepends=('bison' 'flex') +source=(http://chuck.cs.princeton.edu/release/files/$pkgname-$pkgver.tgz) +md5sums=('ac8459b4067c2491fbdeb61d122a5985') + +if [[ $CARCH == x86_64 ]]; then + depends=('lib32-gcc-libs' 'lib32-libsndfile' 'lib32-alsa-lib') + makedepends+=('gcc-multilib') +fi + +build() { + if [[ $CARCH == x86_64 ]]; then + export CC='gcc -m32' + export CXX='g++ -m32' + export PKG_CONFIG_PATH=/usr/lib32/pkgconfig + fi + + cd $srcdir/$pkgname-$pkgver/src + CFLAGS="$CFLAGS -fno-strict-aliasing" + + # This can be linux-alsa linux-jack linux-oss osx win32 + make linux-alsa +} + +package() { + cd $srcdir/$pkgname-$pkgver/src + install -D -m 755 chuck $pkgdir/usr/bin/chuck +} |