# Contributor: Phillip Fynan <pfynan@gmail.com>
# Maintainer: Eric Forgeot < http://www.esclinux.tk >
pkgname=abcmidi
pkgver=20111219
pkgrel=1
pkgdesc="A set of tools for converting ABC files to MIDI files and vice versa, as well as other small utilities"
url="http://abc.sourceforge.net/abcMIDI/"
license="GPL"
depends=('glibc')
makedepends=('unzip')
source=('http://ifdo.pugmarks.com/~seymour/runabc/abcMIDI-2011-12-19.zip')
arch=(i686 x86_64 ppc)
md5sums=('f0fc5e4fe487422dd7b0c583fc52eccb')
build() {
cd $srcdir/abcmidi
make 'binaries=abc2midi midi2abc abc2abc mftext midicopy abcmatch' || return 1
mkdir -p $pkgdir/usr/bin
make prefix=$pkgdir/usr 'binaries=abc2midi midi2abc abc2abc mftext midicopy abcmatch' install
}