summaryrefslogtreecommitdiff
path: root/staging/libmtp/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-04-02 00:01:14 +0000
committerroot <root@rshg054.dnsready.net>2012-04-02 00:01:14 +0000
commit8ebbe4e4befac1396a153b356fc9793655dde4ff (patch)
treeb957bcef566f4da47b8d4a406c64837ec6e3b2e7 /staging/libmtp/PKGBUILD
parent939efb693a8b362edc0c6ccba62c5ce54fb501af (diff)
Mon Apr 2 00:01:14 UTC 2012
Diffstat (limited to 'staging/libmtp/PKGBUILD')
-rw-r--r--staging/libmtp/PKGBUILD26
1 files changed, 26 insertions, 0 deletions
diff --git a/staging/libmtp/PKGBUILD b/staging/libmtp/PKGBUILD
new file mode 100644
index 000000000..3e394fd79
--- /dev/null
+++ b/staging/libmtp/PKGBUILD
@@ -0,0 +1,26 @@
+# $Id: PKGBUILD 154966 2012-03-31 23:02:48Z 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
+}