community/sshfs to 3.3.0-3.1

This commit is contained in:
Kevin Mihelich 2017-09-25 23:47:30 +00:00
parent 10dfa9bad8
commit f04662b1c7

View file

@ -8,7 +8,7 @@
pkgname=sshfs
pkgver=3.3.0
pkgrel=3
pkgrel=3.1
pkgdesc="FUSE client based on the SSH File Transfer Protocol"
arch=(x86_64 i686)
url="http://github.com/libfuse/sshfs"
@ -28,7 +28,7 @@ prepare() {
# patch meson.build
patch -p1 < ../001-sshfs-3.3.0-meson.build.patch
[[ $CARCH == 'i686' ]] && export CFLAGS+=" -D_FILE_OFFSET_BITS=64"
[[ $CARCH == 'i686' || $CARCH == 'arm' || $CARCH == 'armv6h' || $CARCH == 'armv7h' ]] && export CFLAGS+=" -D_FILE_OFFSET_BITS=64"
rm -rf build
meson setup --prefix=/usr --sbindir=bin . build
}