aboutsummaryrefslogtreecommitdiffstats
path: root/main/sshfs/APKBUILD
blob: 0ca7af2210316b082737a28b37d0cc289735e650 (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
34
35
36
37
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=sshfs
pkgver=2.9
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="fuse-dev glib-dev automake autoconf"
subpackages="$pkgname-doc"
source="https://github.com/libfuse/$pkgname/releases/download/$pkgname-$pkgver/$pkgname-$pkgver.tar.gz"
options="!check"
builddir="$srcdir"/${pkgname}-${pkgver}

build () {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install

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

sha512sums="e7ddd4ed116287d5b6e67caaf87f7dedaec8c370c9641749c6b0adf493ff4e9b1e79a68c0abe8f081a4bd68d6706a770c384a1abfbe22aba494af3e6fb792a42  sshfs-2.9.tar.gz"