aboutsummaryrefslogtreecommitdiffstats
path: root/main/sshfs/APKBUILD
blob: a898d038f1f1a2fb9b6d3b3c9936a09dccf27157 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=sshfs
pkgver=3.7.0
pkgrel=1
pkgdesc="FUSE client based on the SSH File Transfer Protocol"
url="https://github.com/libfuse/sshfs"
arch="all"
license="GPL-2.0-or-later"
depends="openssh-client"
makedepends="fuse3-dev glib-dev meson coreutils"
subpackages="$pkgname-doc"
source="https://github.com/libfuse/sshfs/releases/download/sshfs-$pkgver/sshfs-$pkgver.tar.xz"
options="!check" # requires FUSE kernel module to run tests

build() {
	meson \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var \
		--buildtype=debugoptimized \
		. output
	ninja -C output
}

package() {
	DESTDIR="$pkgdir" ninja -C output install

	mkdir -p "$pkgdir"/usr/share/doc/$pkgname/
	install -Dm644 AUTHORS COPYING "$pkgdir"/usr/share/doc/$pkgname/
}

sha512sums="bd8bcd45dd9a5e9686c6fb442e877ffdb592ba0d3424d5dab84a955bfafb17e8666abefba6857467833f5b285842bdadd5a9b6c9e8128ac2e564c36df79aa570  sshfs-3.7.0.tar.xz"