# $Id: PKGBUILD 58918 2009-11-17 09:30:26Z giovanni $
# Contributor: damir <damir@archlinux.org>
# Contributor: Robert Emil Berge <robert@rebi.no>

pkgname=rosegarden
_origver=10.02
pkgver=5.$_origver
pkgrel=1
pkgdesc="Audio and MIDI sequencer, score editor, and general-purpose music composition and editing application"
arch=("i686" "x86_64")
license=('GPL')
url="http://www.rosegardenmusic.com/"
depends=('gcc-libs' 'fftw' 'perl-xml-twig' 'readline' 'liblrdf' 'dssi'
	'jack-audio-connection-kit' 'ladspa' 'liblo>=0.26' 'libxft' 'libxext' 'libsm')
makedepends=('cmake')
provides=('rosegarden-4')
replaces=('rosegarden-4')
options=("!libtool")
source=("http://downloads.sourceforge.net/project/rosegarden/rosegarden/${_origver}/rosegarden-${_origver}.tar.bz2")
md5sums=('64c09426f0085af7984cc4c26f352c97')

build() {
  cd $srcdir/$pkgname-${_origver}

  export QTDIR=/usr

  ./configure --prefix=/usr
  make || return 1
  make install DESTDIR=$pkgdir || return 1
}