mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-03-09 07:32:35 +01:00
37 lines
1.0 KiB
Plaintext
37 lines
1.0 KiB
Plaintext
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=sshfs
|
|
pkgver=3.5.2
|
|
pkgrel=0
|
|
pkgdesc="FUSE client based on the SSH File Transfer Protocol"
|
|
url="https://github.com/libfuse/sshfs"
|
|
arch="all"
|
|
license="GPL"
|
|
depends="openssh-client"
|
|
makedepends="fuse3-dev glib-dev meson coreutils"
|
|
subpackages="$pkgname-doc"
|
|
source="https://github.com/libfuse/$pkgname/releases/download/$pkgname-$pkgver/$pkgname-$pkgver.tar.xz"
|
|
options="!check" # requires FUSE kernel module to run tests
|
|
builddir="$srcdir/$pkgname-$pkgver"
|
|
|
|
build() {
|
|
cd "$builddir"
|
|
meson \
|
|
--prefix=/usr \
|
|
--sysconfdir=/etc \
|
|
--mandir=/usr/share/man \
|
|
--localstatedir=/var \
|
|
--buildtype=release \
|
|
. output
|
|
ninja -C output
|
|
}
|
|
|
|
package() {
|
|
cd "$builddir"
|
|
DESTDIR="$pkgdir" ninja -C output install
|
|
|
|
mkdir -p "$pkgdir"/usr/share/doc/$pkgname/
|
|
install -Dm644 AUTHORS COPYING "$pkgdir"/usr/share/doc/$pkgname/
|
|
}
|
|
|
|
sha512sums="52f874196eef2327dfb11c7f6a9771c1837a89a9208e6503dd7bb839e63d65b3f42d61c2d9140c8100041794923c1bea1f6917ff04b3c1d0236071ff4811c272 sshfs-3.5.2.tar.xz"
|