aboutsummaryrefslogtreecommitdiffstats
path: root/testing/s3fs-fuse/APKBUILD
blob: 68326b4ca94c15e4aea912cd8666bf9b95581013 (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
# Contributor: Steeve Chailloux <steeve.chailloux@orus.io>
# Maintainer: Steeve Chailloux <steeve.chailloux@orus.io>
pkgname=s3fs-fuse
pkgver=1.85
pkgrel=0
pkgdesc="FUSE-based file system backed by Amazon S3"
options="!check" # Fails to connect to localhost
url="https://github.com/s3fs-fuse/s3fs-fuse"
arch="all"
license="GPL-2.0-only"
depends="fuse"
makedepends="automake autoconf libxml2-dev fuse-dev curl-dev git bash"
checkdepends="coreutils sed"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/$pkgname/$pkgname/archive/v$pkgver.tar.gz"

prepare() {
	default_prepare
	./autogen.sh
}

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

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="c99920bf1f1dc04a0ff89a71ad027a5b65d22d75a77f5c6dd4559eaa299af36c71d29b4bcf9fe7e473478e7da1d328c7cfcb1fb77d414b65a289f38456ce5d7a  s3fs-fuse-1.85.tar.gz"