mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-02-06 23:47:10 +00:00
community/sshfs to 3.2.0-1
This commit is contained in:
parent
c5776c334a
commit
360c0f74b9
1 changed files with 10 additions and 6 deletions
|
@ -6,15 +6,16 @@
|
|||
# - use -D_FILE_OFFSET_BITS=64 with 32-bit ARM
|
||||
|
||||
pkgname=sshfs
|
||||
pkgver=3.0.0
|
||||
pkgver=3.2.0
|
||||
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)
|
||||
makedepends=(meson)
|
||||
source=(https://github.com/libfuse/sshfs/releases/download/sshfs-$pkgver/sshfs-$pkgver.tar.gz{,.asc})
|
||||
sha256sums=('644966c7326c1b788a80318c5806f20f6d42dd72ab686f66d6120bd108b54d2d'
|
||||
sha256sums=('b494cdbac7ba2e77b994b3d3957171610be640e49c287ff6cb8f2959c4768101'
|
||||
'SKIP')
|
||||
validpgpkeys=('ED31791B2C5C1613AF388B8AD113FCAC3C4E599F') # Nikolaus Rath <Nikolaus@rath.org>
|
||||
|
||||
|
@ -22,12 +23,15 @@ build() {
|
|||
cd $pkgname-$pkgver
|
||||
|
||||
[[ $CARCH == 'i686' || $CARCH == 'arm' || $CARCH == 'armv6h' || $CARCH == 'armv7h' ]] && export CFLAGS+=" -D_FILE_OFFSET_BITS=64"
|
||||
./configure --prefix=/usr
|
||||
make
|
||||
rm -rf build
|
||||
mkdir build
|
||||
cd build
|
||||
meson --prefix=/usr ..
|
||||
ninja
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $pkgname-$pkgver
|
||||
cd $pkgname-$pkgver/build
|
||||
|
||||
make DESTDIR="$pkgdir" install
|
||||
DESTDIR="$pkgdir" ninja install
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue