summaryrefslogtreecommitdiff
path: root/community/mtpfs/PKGBUILD
blob: 9401f7e191ed245e5754df5949a1bf999db0e697 (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
# $Id: PKGBUILD 67994 2012-03-16 19:16:02Z lcarlier $
# Maintainer: Laurent Carlier <lordheavym@gmail.com>
# Contributor: yugrotavele <yugrotavele at archlinux dot us>
# Contributor: Anton Pirogov <anton.pirogov <AT> googlemail.com>

pkgname=mtpfs
pkgver=1.1
pkgrel=1.1
pkgdesc="A FUSE filesystem that supports reading and writing from any MTP device"
arch=('i686' 'x86_64' 'mips64el')
url="http://www.adebenham.com/mtpfs/"
license=('GPL3')
depends=('libmtp' 'glib2' 'libid3tag' 'fuse' 'libmad')
makedepends=('pkg-config')
source=(http://www.adebenham.com/files/mtp/${pkgname}-${pkgver}.tar.gz)
md5sums=('a299cadca336e6945b7275b44c6e8d27')

build() {
  cd "$srcdir/$pkgname-$pkgver"

  ./configure --prefix=/usr
  make
}

package() {
  cd "$srcdir/$pkgname-$pkgver"

  make DESTDIR="$pkgdir" install
}