summaryrefslogtreecommitdiff
path: root/testing/libmtp
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-04-03 00:01:35 +0000
committerroot <root@rshg054.dnsready.net>2012-04-03 00:01:35 +0000
commitc7cb603f86b4d4fb6567e3faa15b916a306f7004 (patch)
treebfdbca0002d6aeecc13f29a1c14d3991e6e93d4c /testing/libmtp
parent321f44e3a5da426309c4b6664af035c97f907565 (diff)
Tue Apr 3 00:01:35 UTC 2012
Diffstat (limited to 'testing/libmtp')
-rw-r--r--testing/libmtp/PKGBUILD26
1 files changed, 26 insertions, 0 deletions
diff --git a/testing/libmtp/PKGBUILD b/testing/libmtp/PKGBUILD
new file mode 100644
index 000000000..3ff54753a
--- /dev/null
+++ b/testing/libmtp/PKGBUILD
@@ -0,0 +1,26 @@
+# $Id: PKGBUILD 155327 2012-04-01 19:53:07Z tomegun $
+# Contributor: damir <damir@archlinux.org>
+# Contributor: Kevin Edmonds <edmondskevin@hotmail.com>
+
+pkgname=libmtp
+pkgver=1.1.2
+pkgrel=2
+pkgdesc="Library implementation of the Media Transfer Protocol"
+arch=("i686" "x86_64")
+url="http://libmtp.sourceforge.net"
+license=('LGPL')
+depends=('libusb')
+options=('!libtool')
+source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz")
+md5sums=('6dc708757e3fd3ccce7445b4f2171263')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ ./configure --prefix=/usr --with-udev=/usr/lib/udev
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+}