blob: 298f5ccc9c1059c2aa9ad73fa16afb888ca1d83a (
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
42
43
44
45
46
47
48
49
50
51
52
53
|
# Maintainer: eadrom <matthewfennell@gmail.com>
# Contributor: jyantis <yantis@yantis.net>
pkgname=s3fs-fuse-git
pkgver=1.79.r684.845fdb4
pkgrel=1
pkgdesc='FUSE-based file system backed by Amazon S3 with OpenSSL support'
arch=('i686' 'x86_64')
url='https://github.com/s3fs-fuse/s3fs-fuse'
license=('GPL2')
depends=('fuse>=2.8.4'
'curl'
'libxml2')
source=('git+https://github.com/s3fs-fuse/s3fs-fuse.git')
sha256sums=('SKIP')
makedepends=('git'
'glib2'
'mime-types'
'libxml++'
'libgcrypt'
'openssl>=0.9.8')
provides=('s3fs-fuse' 's3fs')
conflicts=('s3fs-fuse' 's3fs' 's3fs-c-git')
pkgver() {
cd s3fs-fuse
printf "%s." "$(grep "AC_INIT(" configure.ac | awk 'BEGIN {FS = " "} {print $2}')" | sed 's/)//g'
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd s3fs-fuse
./autogen.sh
./configure --prefix=/usr --with-openssl
make
}
package() {
cd s3fs-fuse
# We don't need anything related to git in the package
rm -rf .git*
# Install License
install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
# Install Documentation
install -D -m644 README.md "${pkgdir}/usr/share/doc/${pkgname}/README"
# make install
make DESTDIR="${pkgdir}/" install
}
|