1 # Maintainer: Maxwell Pray a.k.a. Synthead <synthead@gmail.com>
6 pkgdesc="USB and MIDI firmware loaders for M-Audio (or Midiman) hardware"
8 url="http://sourceforge.net/projects/usb-midi-fw"
10 source=("http://downloads.sourceforge.net/usb-midi-fw/$pkgname-$pkgver.tar.gz"
11 'use-udevadm-in-configure.patch'
13 md5sums=('6a2c68021e2e05c4eb35e67158b9414e'
14 '7e77d22ecc489eb849d2b6fadc97e1ca'
15 'e8c40cb40d04a98e78c6338fd0796b81')
16 install=madfuload.install
19 cd "$srcdir/$pkgname-$pkgver"
20 patch -p0 < "$srcdir/use-udevadm-in-configure.patch"
21 ./configure --prefix=/usr --with-udev=/etc/udev
26 cd "$srcdir/$pkgname-$pkgver"
27 make DESTDIR="$pkgdir" install
28 install -Dm 644 "$srcdir/42-madfuload.rules" "$pkgdir/etc/udev/rules.d/42-madfuload.rules"