summaryrefslogtreecommitdiff
path: root/extra/libmtp/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-11-05 00:47:11 -0800
committerroot <root@rshg054.dnsready.net>2013-11-05 00:47:11 -0800
commit4525bb3909f233fd13dbfb43aa6ff4e64e8340d9 (patch)
treeadd2024759bc7a18fc8d7f4101dc5d5d9b3e1e44 /extra/libmtp/PKGBUILD
parent058983fb5cb16dbb25368dd464cbcf27205b3f93 (diff)
Tue Nov 5 00:46:51 PST 2013
Diffstat (limited to 'extra/libmtp/PKGBUILD')
-rw-r--r--extra/libmtp/PKGBUILD18
1 files changed, 13 insertions, 5 deletions
diff --git a/extra/libmtp/PKGBUILD b/extra/libmtp/PKGBUILD
index c4aa6dab9..6a8d51a77 100644
--- a/extra/libmtp/PKGBUILD
+++ b/extra/libmtp/PKGBUILD
@@ -1,26 +1,34 @@
-# $Id: PKGBUILD 197376 2013-10-25 03:06:01Z allan $
+# $Id: PKGBUILD 198802 2013-11-04 17:57:04Z andyrtr $
# Maintainer: Tom Gundersen <teg@jklm.no>
# Contributor: damir <damir@archlinux.org>
# Contributor: Kevin Edmonds <edmondskevin@hotmail.com>
pkgname=libmtp
pkgver=1.1.6
-pkgrel=2
+pkgrel=3
pkgdesc="Library implementation of the Media Transfer Protocol"
arch=("i686" "x86_64")
url="http://libmtp.sourceforge.net"
license=('LGPL')
depends=('libusb' 'libgcrypt')
source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz")
+md5sums=('87835626dbcf39e62bfcdd4ae6da2063')
build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
+ cd ${pkgname}-${pkgver}
./configure --prefix=/usr --with-udev=/usr/lib/udev
make
}
+check() {
+ cd $pkgname-$pkgver
+ make -k check
+}
+
package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
+ cd ${pkgname}-${pkgver}
make DESTDIR="${pkgdir}" install
+
+ # fix broken udev rule
+ sed -i "/^Unable to open/d" ${pkgdir}/usr/lib/udev/rules.d/69-libmtp.rules
}
-md5sums=('87835626dbcf39e62bfcdd4ae6da2063')