blob: f69b8c10dff3c3575ab58da9783cfc3ba24c13bd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# $Id: PKGBUILD 202983 2013-12-30 08:41:18Z foutrelis $
# Maintainer: Tom Gundersen <teg@jklm.no>
# Contributor: damir <damir@archlinux.org>
# Contributor: Kevin Edmonds <edmondskevin@hotmail.com>
pkgname=libmtp
pkgver=1.1.6
pkgrel=5
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 ${pkgname}-${pkgver}
./configure --prefix=/usr --with-udev=/usr/lib/udev
make
}
check() {
cd $pkgname-$pkgver
make -k check
}
package() {
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
}
|