37 lines
877 B
Bash
37 lines
877 B
Bash
# Maintainer: Jesus E. <heckyel@riseup.net>
|
|
|
|
pkgname=sshfs
|
|
pkgver=3.7.1
|
|
pkgrel=1
|
|
pkgdesc='FUSE client based on the SSH File Transfer Protocol'
|
|
arch=('i686' 'x86_64')
|
|
url='https://github.com/libfuse/sshfs'
|
|
license=('GPL-2')
|
|
depends=('fuse3' 'glib2' 'openssh')
|
|
makedepends=('meson' 'python-docutils')
|
|
source=(https://github.com/libfuse/sshfs/releases/download/$pkgname-$pkgver/$pkgname-$pkgver.tar.xz)
|
|
sha512sums=('ee91b2eacbad5891006dbac14188ddd591e242b6092c7b7d8234503d79acb52f4b7ea9a15d5eaad83597ff4b4e700580ee2271671edfa6db762d9a8c756d45fd')
|
|
|
|
prepare() {
|
|
cd $pkgname-$pkgver
|
|
|
|
rm -rf build
|
|
mkdir build
|
|
cd build
|
|
hyperbola-meson ..
|
|
}
|
|
|
|
build() {
|
|
cd $pkgname-$pkgver/build
|
|
ninja
|
|
}
|
|
|
|
package() {
|
|
cd $pkgname-$pkgver/build
|
|
|
|
DESTDIR="$pkgdir" ninja install
|
|
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
install -Dm644 COPYING -t "${pkgdir}/usr/share/licenses/$pkgname"
|
|
}
|