2017-09-22 23:14:58 +00:00
|
|
|
# Maintainer: Giancarlo Razzolini <grazzolini@archlinux.org>
|
|
|
|
# Contributor: Antonio Rojas <arojas@archlinux.org>
|
2017-07-09 15:24:49 +00:00
|
|
|
# Contributor: Giovanni Scafora <giovanni@archlinux.org>
|
|
|
|
|
|
|
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
|
|
# - use -D_FILE_OFFSET_BITS=64 with 32-bit ARM
|
|
|
|
|
|
|
|
pkgname=sshfs
|
2020-01-03 18:58:46 +00:00
|
|
|
pkgver=3.7.0
|
2019-04-15 18:21:34 +00:00
|
|
|
pkgrel=1
|
2017-07-09 15:24:49 +00:00
|
|
|
pkgdesc="FUSE client based on the SSH File Transfer Protocol"
|
2018-04-30 12:35:20 +00:00
|
|
|
arch=('x86_64')
|
2019-03-04 19:25:37 +00:00
|
|
|
url="https://github.com/libfuse/sshfs"
|
2017-07-09 15:24:49 +00:00
|
|
|
license=(GPL)
|
|
|
|
depends=(fuse3 glib2 openssh)
|
2017-09-22 23:14:58 +00:00
|
|
|
makedepends=('meson' 'python-docutils')
|
2017-10-26 12:29:48 +00:00
|
|
|
source=(https://github.com/libfuse/sshfs/releases/download/$pkgname-$pkgver/$pkgname-$pkgver.tar.xz{,.asc})
|
2020-01-03 18:58:46 +00:00
|
|
|
sha256sums=('6e7e86831f3066b356e7f16e22f1b8a8f177fda05146f6a5eb821c2fd0541c34'
|
2017-10-26 12:29:48 +00:00
|
|
|
'SKIP')
|
2017-07-09 15:24:49 +00:00
|
|
|
validpgpkeys=('ED31791B2C5C1613AF388B8AD113FCAC3C4E599F') # Nikolaus Rath <Nikolaus@rath.org>
|
|
|
|
|
2017-09-25 17:04:02 +00:00
|
|
|
prepare() {
|
2017-07-09 15:24:49 +00:00
|
|
|
cd $pkgname-$pkgver
|
|
|
|
|
2018-04-30 12:35:20 +00:00
|
|
|
[[ $CARCH == 'arm' || $CARCH == 'armv6h' || $CARCH == 'armv7h' ]] && export CFLAGS+=" -D_FILE_OFFSET_BITS=64"
|
2017-08-15 00:24:00 +00:00
|
|
|
rm -rf build
|
2017-10-02 07:17:04 +00:00
|
|
|
mkdir build
|
|
|
|
cd build
|
|
|
|
arch-meson ..
|
2017-09-25 17:04:02 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd $pkgname-$pkgver/build
|
2017-08-15 00:24:00 +00:00
|
|
|
ninja
|
2017-07-09 15:24:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2017-08-15 00:24:00 +00:00
|
|
|
cd $pkgname-$pkgver/build
|
2017-07-09 15:24:49 +00:00
|
|
|
|
2017-08-15 00:24:00 +00:00
|
|
|
DESTDIR="$pkgdir" ninja install
|
2017-07-09 15:24:49 +00:00
|
|
|
}
|