mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-03-10 16:12:27 +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.1
|
|
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="bda7aa0a7a69a0ace355ed755f454402ce7bdd0d66456dac8654a3eb76b6fcfd0ddee9cfc5bcd80485880f47262c72bcbaeeadc7db7d652e864fbbbff6728b76 sshfs-3.5.1.tar.xz"
|