# Maintainer: Jesus E. pkgname=simple-mtpfs pkgver=0.4.0 pkgrel=1 pkgdesc="Simple MTP fuse filesystem driver" arch=('i686' 'x86_64') url='https://github.com/phatina/simple-mtpfs' license=('GPL-2') depends=('libmtp' 'fuse2' 'gcc-libs') makedepends=('autoconf-archive') source=("${pkgname}-${pkgver}.tar.gz::https://github.com/phatina/simple-mtpfs/archive/refs/tags/v${pkgver}.tar.gz") sha512sums=('6f213f9df792f33cd3842357aecf444cdc8030c89e4abc19b56a2c60f58213b5545b3d7857b0d46cdd237d0c24d5d6eb3cbe59ba9fc3c32f91396c5724ac86d7') build() { cd "$srcdir/$pkgname-$pkgver" ./autogen.sh ./configure --prefix=/usr make } package() { cd "$srcdir/$pkgname-$pkgver" make DESTDIR="${pkgdir}" install install -Dm644 COPYING -t "${pkgdir}/usr/share/licenses/$pkgname" }