# Description: FUSE and libmtp based filesystem for accessing MTP (Media Transfer Protocol) devices # URL: https://github.com/JasonFerrara/jmtpfs # Maintainer: Erich Eckner, crux at eckner dot net # Depends on: fuse libmtp name=jmtpfs version=0.5 release=1 source=("https://github.com/JasonFerrara/jmtpfs/archive/v$version/jmtpfs-v$version.tar.gz") build() { cd $name-$version ./configure \ CXXFLAGS=-lpthread \ --prefix=/usr make make DESTDIR="$PKG" install ln -s jmtpfs "$PKG"/usr/bin/mount.jmtpfs ln -s jmtpfs "$PKG"/usr/bin/mount.fuse.jmtpfs }