PKGBUILDs/extra/rosegarden/PKGBUILD
2009-10-09 21:23:22 -05:00

26 lines
962 B
Bash

# $Id: PKGBUILD 32283 2009-03-30 01:24:10Z eric $
# Maintainer: damir <damir@archlinux.org>
# Contributor: Robert Emil Berge <robert@rebi.no>
pkgname=rosegarden
_origver=1.7.3
pkgver=4.$_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=('fftw' 'perl-xml-twig>=3.32' 'kdelibs3' 'readline>=5.0' 'liblrdf' 'alsa-lib' 'jack-audio-connection-kit>=0.77.0' 'ladspa' 'dssi>=0.9' 'liblo>=0.7')
makedepends=('cmake')
provides=('rosegarden-4')
replaces=('rosegarden-4')
options=("!libtool")
source=("http://downloads.sourceforge.net/sourceforge/rosegarden/$pkgname-$_origver.tar.bz2")
md5sums=('122eab42e375d2f3b009c8540ae8069c')
build() {
cd $srcdir/$pkgname-$_origver
cmake . -DCMAKE_INSTALL_PREFIX=/opt/kde -DWANT_LIRC=OFF || return 1
make || return 1
make install DESTDIR=$pkgdir || return 1
}