# $Id: PKGBUILD 101322 2010-11-28 22:22:28Z tpowa $ # Maintainer: damir # Contributor: Mark Rosenstand pkgname=libifp pkgver=1.0.0.2 pkgrel=3 pkgdesc="General-purpose library-driver for iRiver's iFP portable audio players" arch=('i686' 'x86_64' 'mips64el') license=('GPL') url="http://ifp-driver.sourceforge.net/libifp/" depends=('libusb-compat') options=('!libtool') source=(http://downloads.sourceforge.net/sourceforge/ifp-driver/${pkgname}-${pkgver}.tar.gz) md5sums=('d4114794b13bd32b6b767e0870df6fc4') build() { cd ${srcdir}/${pkgname}-${pkgver} ./configure --prefix=/usr --mandir=/usr/share/man --with-libusb make } package() { cd ${srcdir}/${pkgname}-${pkgver} make DESTDIR=${pkgdir} install }