summaryrefslogtreecommitdiff
path: root/pcr/jmtpfs/PKGBUILD
blob: 0edc3528765a97bb40ea9f8f820cbaa4afd946b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer (Arch): Philipp 'TamCore' B. <philipp [at] tamcore [dot] eu>
# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe>
pkgname=jmtpfs
pkgver=0.5
pkgrel=1
license=('GPL3')
pkgdesc="mtpfs with better support for Android"
arch=('i686' 'x86_64')
url="http://research.jacquette.com/jmtpfs-exchanging-files-between-android-devices-and-linux/"
depends=('fuse' 'libmtp')
source=("https://github.com/JasonFerrara/jmtpfs/archive/v${pkgver}.tar.gz")
sha256sums=('c0cacc4751c586a3b2b0fcd9c98dae4810a5d44f3eb9d2870868a15eeb696883')

build() {
    cd "${srcdir}/${pkgname}-${pkgver}"
    ./configure CXXFLAGS=-lpthread --prefix=/usr
    make
}

package() {
    cd "${srcdir}/${pkgname}-${pkgver}"
    make DESTDIR="${pkgdir}" install
}