1 # Maintainer: masutu <masutu dot arch at gmail dot com>
2 # Contributor: gnud <gnud@gawab.com>
4 pkgname=midisport-firmware
7 pkgdesc="Firmware for some (legacy) m-audio midi devices"
8 url="http://usb-midi-fw.sourceforge.net/"
10 depends=('alsa-lib' 'udev' 'fxload')
12 source=("http://downloads.sourceforge.net/project/usb-midi-fw/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz"
13 "midisport_udev_rules.patch")
14 md5sums=('b1e4976b68f396a50e92491caa6f36bc'
15 '46fdfedc6fc7ca7a257dfbd401c204e0')
18 cd "$srcdir/${pkgname}-${pkgver}"
19 sed -i 1740c\ 'udev_ver=\`udevadm info -V\`' configure || return 1
20 patch < ../../midisport_udev_rules.patch || return 1
21 ./configure --prefix=/usr || return 1
23 make install DESTDIR="$pkgdir" || return 1