summaryrefslogtreecommitdiff
path: root/extra/libmtp/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/libmtp/PKGBUILD')
-rw-r--r--extra/libmtp/PKGBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/extra/libmtp/PKGBUILD b/extra/libmtp/PKGBUILD
new file mode 100644
index 000000000..e549fa123
--- /dev/null
+++ b/extra/libmtp/PKGBUILD
@@ -0,0 +1,32 @@
+# $Id: PKGBUILD 101397 2010-11-29 04:35:05Z allan $
+# Contributor: damir <damir@archlinux.org>
+# Contributor: Kevin Edmonds <edmondskevin@hotmail.com>
+
+pkgname=libmtp
+pkgver=1.0.2
+pkgrel=2
+pkgdesc="library implementation of the Media Transfer Protocol"
+arch=("i686" "x86_64")
+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
+}