# $Id: PKGBUILD 101397 2010-11-29 04:35:05Z allan $ # Contributor: damir # Contributor: Kevin Edmonds pkgname=libmtp pkgver=1.0.2 pkgrel=2 pkgdesc="library implementation of the Media Transfer Protocol" arch=("i686" "x86_64" 'mips64el') url="http://libmtp.sourceforge.net" license=('LGPL') depends=('libusb-compat') makedepends=('doxygen') source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz") md5sums=('cdc1cc6afa6be287ff6bc331e71bdc47') options=('!libtool') build() { cd $srcdir/$pkgname-$pkgver ./configure --prefix=/usr make } package() { cd $srcdir/$pkgname-$pkgver make DESTDIR=$pkgdir install install -D -m0644 libmtp.rules \ $pkgdir/lib/udev/rules.d/52-libmtp.rules install -D -m0644 libmtp.fdi \ $pkgdir/usr/share/hal/fdi/information/20thirdparty/libmtp.fdi }