# Contributor: Jochen Immendörfer <jochen dot immendoerfer at gmail dot com>
pkgname=fxload
pkgver=2008_10_13
pkgrel=1
pkgdesc="fxload firmware loader. Used with udev or devfs/hotplug."
url="http://linux-hotplug.sourceforge.net/"
depends=('glibc')
makedepends=('sed')
source=(http://downloads.sourceforge.net/sourceforge/linux-hotplug/$pkgname-$pkgver.tar.gz)
md5sums=('4477a2457f064228bef4a93ba2f21692')
arch=('i686')
license=('GPL')

build() {
  cd ${srcdir}/${pkgname}-${pkgver}
  make || return 1
  sed -i 's|/usr/bin/install|/bin/install|' Makefile
}
package() {
  cd ${srcdir}/${pkgname}-${pkgver}
  make exec_prefix=${pkgdir} prefix=${pkgdir} install || return 1
}