PKGBUILDs/community/sshfs/PKGBUILD

38 lines
1 KiB
Bash
Raw Normal View History

2017-07-09 15:24:49 +00:00
# $Id$
# Maintainer: Antonio Rojas <arojas@archlinux.org>
# Contributor: Giovanni Scafora <giovanni@archlinux.org>
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
# - use -D_FILE_OFFSET_BITS=64 with 32-bit ARM
pkgname=sshfs
2017-08-15 00:24:00 +00:00
pkgver=3.2.0
2017-07-09 15:24:49 +00:00
pkgrel=1
pkgdesc="FUSE client based on the SSH File Transfer Protocol"
arch=(x86_64 i686)
url="http://github.com/libfuse/sshfs"
license=(GPL)
depends=(fuse3 glib2 openssh)
2017-08-15 00:24:00 +00:00
makedepends=(meson)
2017-07-09 15:24:49 +00:00
source=(https://github.com/libfuse/sshfs/releases/download/sshfs-$pkgver/sshfs-$pkgver.tar.gz{,.asc})
2017-08-15 00:24:00 +00:00
sha256sums=('b494cdbac7ba2e77b994b3d3957171610be640e49c287ff6cb8f2959c4768101'
2017-07-09 15:24:49 +00:00
'SKIP')
validpgpkeys=('ED31791B2C5C1613AF388B8AD113FCAC3C4E599F') # Nikolaus Rath <Nikolaus@rath.org>
build() {
cd $pkgname-$pkgver
[[ $CARCH == 'i686' || $CARCH == 'arm' || $CARCH == 'armv6h' || $CARCH == 'armv7h' ]] && export CFLAGS+=" -D_FILE_OFFSET_BITS=64"
2017-08-15 00:24:00 +00:00
rm -rf build
mkdir build
cd build
meson --prefix=/usr ..
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
}