blob: e549fa1233817cc2ea9ecd124af779cf386e21b1 (
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
|
# $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
}
|