Username: Password: Remember me
# Maintainer: Michael Haesel <michael[dot]haesel[at]gmail[dot]com>
# Contributor: Phillip Fynan <pfynan@gmail.com>
# Contributor: Eric Forgeot < http://www.esclinux.tk >
# Contributor: Bastian Holst <bastianholst@gmx.de>
 
pkgname=abcmidi
_pkgname=abcMIDI
pkgver=20170419
_pkgver="${pkgver:0:4}.${pkgver:4:2}.${pkgver:6:2}"
pkgrel=1
pkgdesc="A set of tools for converting ABC files to MIDI files and vice versa, as well as other small utilities"
arch=('x86_64')
url="http://ifdo.ca/~seymour/runabc/top.html"
license="GPL"
depends=('glibc')
makedepends=('unzip')
source=("http://ifdo.ca/~seymour/runabc/${_pkgname}-${_pkgver}.zip")
sha256sums=('ed5c0e0cffb55a56fcf6cdbe037d819ad7028bc0822983f6988b5f78716447cc')
 
build() {
  cd ${pkgname}
  make 'binaries=abc2midi midi2abc abc2abc mftext midicopy abcmatch'
}
 
package() {
  cd ${pkgname}
  make prefix="${pkgdir}/usr" 'binaries=abc2midi midi2abc abc2abc mftext midicopy abcmatch' install
}