Last active
July 6, 2016 03:14
-
-
Save Gabrielgtx/9ca96421188809458e1b564c4f9358ff to your computer and use it in GitHub Desktop.
A FUSE filesystem that supports reading/writing from MTP devices / https://github.com/phatina/simple-mtpfs/
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) | |
# "simple-mtpfs.desktop" | |
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 | |
# install -dm644 "simple_mtp.desktop" "$srcdir/usr/share/solid/actions/" | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Desktop Entry] | |
X-KDE-Solid-Predicate=PortableMediaPlayer.supportedProtocols == 'mtp' | |
Type=Service | |
Actions=open; | |
[Desktop Action open] | |
Exec=dolphin mtpfs:/ | |
Icon=system-file-manager | |
Name[es]=Abrir con Dolphin |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment