summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: f391f44a1c7caec0db788bbd339f57184f9ea102 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Maintainer: goetzc
# Contributor: Dan Liew <dan at su-root dot co dot uk>
pkgname=simple-mtpfs
pkgver=0.3.0
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')
source=(https://github.com/phatina/simple-mtpfs/archive/$pkgname-$pkgver.tar.gz)
sha1sums=('9bbb315a4cc1020cdffbfea969dbd3c7a364c42d')

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
}