updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / bin32-miniaudicle / PKGBUILD
blob17fb23ad41e48a98be14058ee681bdea07b5484f
1 # Maintainer: SpepS <dreamspepser at yahoo dot it>
3 _pkgname32=miniaudicle
4 pkgname=bin32-$_pkgname32
5 pkgver=0.2.0
6 pkgrel=2
7 pkgdesc="A light-weight integrated development environment for the ChucK digital audio programming language. Multilib."
8 arch=('x86_64')
9 url="http://audicle.cs.princeton.edu/mini/"
10 license=('GPL')
11 depends=('lib32-libsndfile' 'lib32-wxgtk')
12 makedepends=('gcc-multilib')
13 provides=("$_pkgname32")
14 conflicts=("$_pkgname32")
15 source=("http://${_pkgname32}.googlecode.com/files/miniAudicle-${pkgver}.tgz")
16 md5sums=('37389af75bd98de127c71e08d47d43c7')
18 build() {
19   cd "${srcdir}/miniAudicle-${pkgver}"
21   unset CFLAGS
22   _WXCONFIG="/usr/lib32/wx/config/gtk2-unicode-release-2.8"
24   sed "s|?||g;s|g[c+][c+]|& -m32|;s|wx-config|$_WXCONFIG|g" \
25         -i makefile.alsa \
26         -i chuck/src/makefile.alsa
28   make -f makefile.alsa
31 package() {
32   cd "${srcdir}/miniAudicle-${pkgver}/wxw"
34   install -Dm755 miniAudicle "$pkgdir/usr/bin/miniaudicle"