mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
42 lines
1.1 KiB
Bash
42 lines
1.1 KiB
Bash
# $Id$
|
|
# Maintainer: Giancarlo Razzolini <grazzolini@archlinux.org>
|
|
# Contributor: 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
|
|
pkgver=3.3.1
|
|
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' 'python-docutils')
|
|
source=(https://github.com/libfuse/sshfs/releases/download/$pkgname-$pkgver/$pkgname-$pkgver.tar.xz{,.asc})
|
|
sha256sums=('de13bfe0eb5821a7d878f8dea3dc815edaee734418e0950c2732399acd4fb443'
|
|
'SKIP')
|
|
validpgpkeys=('ED31791B2C5C1613AF388B8AD113FCAC3C4E599F') # Nikolaus Rath <Nikolaus@rath.org>
|
|
|
|
prepare() {
|
|
cd $pkgname-$pkgver
|
|
|
|
[[ $CARCH == 'i686' || $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
|
|
}
|