# Contributor: Dan Liew pkgname=simple-mtpfs pkgver=0.2 pkgrel=1 pkgdesc="A FUSE filesystem that supports reading/writing from MTP devices" arch=('i686' 'x86_64') url="https://github.com/phatina/simple-mtpfs/" license=('GPL2') depends=('libmtp' 'fuse' 'gcc-libs') options=(strip) source=(https://github.com/phatina/simple-mtpfs/archive/$pkgname-$pkgver.tar.gz) md5sums=('7dd93d869b26ebf3b630cd7c0bdd8e32') build() { cd "$srcdir/$pkgname-$pkgname-$pkgver" if [[ ! -e "./configure" ]]; then ./autogen.sh ./configure --prefix=/usr else ./config.status fi make } package() { cd "$srcdir/$pkgname-$pkgname-$pkgver" make DESTDIR="$pkgdir/" install }