# Maintainer: Giancarlo Razzolini # Contributor: Antonio Rojas # Contributor: Giovanni Scafora # ALARM: Kevin Mihelich # - use -D_FILE_OFFSET_BITS=64 with 32-bit ARM pkgname=sshfs pkgver=3.5.1 pkgrel=2 pkgdesc="FUSE client based on the SSH File Transfer Protocol" arch=('x86_64') url="https://github.com/libfuse/sshfs" license=(GPL) depends=(fuse3 glib2 openssh) makedepends=('meson' 'python-docutils') source=(https://github.com/libfuse/sshfs/releases/download/$pkgname-$pkgver/$pkgname-$pkgver.tar.xz{,.asc}) sha256sums=('b505105980cd552481ab9f311bcf6fdb6134cdd200d5ac8aa828b31769d0b10b' 'SKIP') validpgpkeys=('ED31791B2C5C1613AF388B8AD113FCAC3C4E599F') # Nikolaus Rath prepare() { cd $pkgname-$pkgver [[ $CARCH == 'arm' || $CARCH == 'armv6h' || $CARCH == 'armv7h' ]] && export CFLAGS+=" -D_FILE_OFFSET_BITS=64" rm -rf build mkdir build cd build arch-meson .. } build() { cd $pkgname-$pkgver/build ninja } package() { cd $pkgname-$pkgver/build DESTDIR="$pkgdir" ninja install }