updated on Sat Jan 14 00:11:12 UTC 2012
[aur-mirror.git] / rtmidi / PKGBUILD
blobf8a13a6f2ed0e6fa8986b46f60db06e71205f2a7
1 # Maintainer: SpepS <dreamspepser at yahoo dot it>
3 pkgname=rtmidi
4 pkgver=1.0.15
5 pkgrel=1
6 pkgdesc="A set of C++ classes that provides a common API for realtime MIDI input/output."
7 arch=(i686 x86_64)
8 url="http://www.music.mcgill.ca/~gary/rtmidi/"
9 license=('GPL')
10 depends=('jack')
11 source=("${url}release/$pkgname-$pkgver.tar.gz"
12         "$pkgname-$pkgver-shared.patch"
13         "$pkgname-jack.pc"
14         "$pkgname.pc"
15         "Makefile")
16 md5sums=('a500b0a80dbf0a0f4a9b69cd7af134e2'
17          'd5f52e293e1b9811259b30ee6dec3f1e'
18          'ee51427cb1d93d06a16cda7de4e59f80'
19          '03f64857639e4748b27bc3a393e59fcc'
20          'c803f67240480c63fe8d31e4d8ad890c')
22 build() {
23   cd "$srcdir/$pkgname-$pkgver"
25   # enable shared lib build
26   patch -p1 -i ../$pkgname-$pkgver-shared.patch
28   # add missing makefile and pkgconfig files
29   cp ../{Makefile,*.pc} .
31   # jack lib
32   ./configure --prefix=/usr \
33               --with-jack
34   make jack
36   # clean build
37   make clean
39   # alsa lib
40   ./configure --prefix=/usr
41   make alsa
44 package() {
45   cd "$srcdir/$pkgname-$pkgver"
47   make DESTDIR="$pkgdir/" install
50 # vim:set ts=2 sw=2 et: