29 lines
846 B
Bash
29 lines
846 B
Bash
# Maintainer: Jesus E. <heckyel@riseup.net>
|
|
|
|
pkgname=jmtpfs
|
|
pkgver=0.5
|
|
pkgrel=1
|
|
license=('GPL-3')
|
|
pkgdesc='FUSE and libmtp based filesystem for accessing MTP (Media Transfer Protocol) devices'
|
|
arch=('i686' 'x86_64')
|
|
url='https://github.com/JasonFerrara/jmtpfs'
|
|
depends=('fuse2' 'libmtp')
|
|
source=(https://github.com/JasonFerrara/jmtpfs/archive/v$pkgver/jmtpfs-v$pkgver.tar.gz)
|
|
sha512sums=('1997d202199af59ae2138701855864e4dab624fff4feac08ea98e3e4ed6c39e4181d8f9fec35db0e83570f48de204f3d00e1b0d2244ec677f77a99b1dc9c38b3')
|
|
|
|
build() {
|
|
cd $pkgname-$pkgver
|
|
./configure CXXFLAGS=-lpthread --prefix=/usr
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd $pkgname-$pkgver
|
|
make DESTDIR="$pkgdir" install
|
|
|
|
ln -s jmtpfs "$pkgdir"/usr/bin/mount.jmtpfs
|
|
ln -s jmtpfs "$pkgdir"/usr/bin/mount.fuse.jmtpfs
|
|
|
|
install -Dm644 COPYING -t "${pkgdir}/usr/share/licenses/$pkgname"
|
|
}
|