summaryrefslogtreecommitdiff
path: root/community/chuck/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/chuck/PKGBUILD')
-rw-r--r--community/chuck/PKGBUILD24
1 files changed, 8 insertions, 16 deletions
diff --git a/community/chuck/PKGBUILD b/community/chuck/PKGBUILD
index 1927295f1..a8a8b127f 100644
--- a/community/chuck/PKGBUILD
+++ b/community/chuck/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 78497 2012-10-20 00:31:27Z arodseth $
+# $Id: PKGBUILD 98759 2013-10-17 17:27:23Z arodseth $
# Maintainer: Alexander Rødseth <rodseth@gmail.com>
# Contributor: Laurent Carlier <lordheavym@gmail.com>
# Contributor: Brad Fanella <bradfanella@archlinux.us>
@@ -7,7 +7,7 @@
# Contributor: tardo <tardo@nagi-fanboi.net>
pkgname=chuck
-pkgver=1.3.1.3
+pkgver=1.3.2.0
pkgrel=1
pkgdesc='Concurrent, on-the-fly audio programming language'
arch=('x86_64' 'i686' 'mips64el')
@@ -15,26 +15,18 @@ url='http://chuck.cs.princeton.edu/'
license=('GPL')
depends=('gcc-libs' 'libsndfile')
source=("http://chuck.cs.princeton.edu/release/files/$pkgname-$pkgver.tgz")
-sha256sums=('8ef8a65fe4d265b6f509b9339355a5658b47d9b43219fa09c182ca846cc0a740')
+sha256sums=('ee0c7d94cd4053f9683f84007350992b7e7552fcc190eeba21a66de8deaf3948')
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
+ make -C "$pkgname-$pkgver/src" linux-alsa # linux-jack linux-oss osx win32
}
package() {
- cd $srcdir/$pkgname-$pkgver/src
+ cd "$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/
+ install -Dm755 "$pkgname" "$pkgdir/usr/bin/$pkgname"
+ mkdir -p "$pkgdir/usr/share/doc/$pkgname"
+ cp -r ../examples "$pkgdir/usr/share/doc/$pkgname"
}
# vim:set ts=2 sw=2 et: