aboutsummaryrefslogtreecommitdiffstats
path: root/main/sshfs/APKBUILD
blob: 2bcbbada8dc7de6719ce4449af7117acc997b386 (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
38
39
40
41
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=sshfs
pkgver=2.6
_realver=${pkgver//./_}
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/archive/${pkgname}_${_realver}.tar.gz"

_builddir="$srcdir"/$pkgname-${pkgname}_${_realver}
prepare() {
	cd "$_builddir"
	autoreconf -fi || return 1
}

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

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install || return 1
}

md5sums="7598e784edee96c37558c66ad2b4d9ee  sshfs_2_6.tar.gz"
sha256sums="17e7a90600de7a48f80b006fd1a61177ca7859dd8bc2f5d1c29b6ad716cf2831  sshfs_2_6.tar.gz"
sha512sums="190a3a3a8c8814836b9e1dba50183e333052cd10c8d8cfcf531f40691b7fd721e43fc92de71e1b2b42439e324f47bce75a06cdcfb1b254e015d4185cd2fb42d1  sshfs_2_6.tar.gz"