PKGBUILDs/community/beast/PKGBUILD
2009-10-09 21:15:33 -05:00

35 lines
1 KiB
Bash

# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
# Maintainer: Corrado 'bardo' Primier <corrado.primiermail.polimi.it>
# Contributor: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
pkgname=beast
pkgver=0.7.1
pkgrel=2
pkgdesc="A music composition and modular synthesis application"
arch=('i686' 'x86_64')
url="http://beast.gtk.org"
license=('GPL' 'LGPL')
options=('!libtool')
depends=('libgnomecanvas' 'guile' 'libvorbis' 'libmad' 'perlxml')
source=(http://beast.gtk.org/beast-ftp/v0.7/beast-$pkgver.tar.bz2
beast-guile.patch
beast-gcc44.patch)
md5sums=('f8b54ca8e7936ac7c85583ade45d3be3'
'9285fe3b5d5902679ddc607aec4a8ced'
'95358595c4f041158533a578da518058')
build() {
cd $srcdir/$pkgname-$pkgver
# Fix for compiling with guile-1.8.1
patch -p1 < $srcdir/beast-guile.patch || return 1
# Fix for compiling with GCC 4.4
patch -p1 < $srcdir/beast-gcc44.patch || return 1
./configure --prefix=/usr \
--mandir=/usr/share/man
make || return 1
make DESTDIR=$pkgdir install
rm -R $pkgdir/usr/share/mime
}