summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan Yantis2015-06-11 08:03:05 -0700
committerJonathan Yantis2015-06-11 08:03:05 -0700
commit45472ae1a6defe9fff94043ef6de52b6f612ede9 (patch)
treea7131a37f4d247a32543b2a89b70adf8d0ea3cfe
downloadaur-45472ae1a6defe9fff94043ef6de52b6f612ede9.tar.gz
Initial import
-rw-r--r--.SRCINFO27
-rw-r--r--PKGBUILD53
2 files changed, 80 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..cdb8132d76a
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,27 @@
+pkgbase = s3fs-fuse-git
+ pkgdesc = FUSED-based file system backed by Amazon S3 with OpenSSL support
+ pkgver = 1.78.r449.3056644
+ pkgrel = 2
+ url = https://github.com/s3fs-fuse/s3fs-fuse
+ arch = i686
+ arch = x86_64
+ license = GPL2
+ makedepends = git
+ makedepends = glib2
+ makedepends = mime-types
+ makedepends = libxml++
+ makedepends = libgcrypt
+ makedepends = openssl>=0.9.8
+ depends = fuse>=2.8.4
+ depends = curl
+ depends = libxml2
+ provides = s3fs-fuse
+ provides = s3fs
+ conflicts = s3fs-fuse
+ conflicts = s3fs
+ conflicts = s3fs-c-git
+ source = git+https://github.com/s3fs-fuse/s3fs-fuse.git
+ sha256sums = SKIP
+
+pkgname = s3fs-fuse-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..fc16d479023
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,53 @@
+# Maintainer: jyantis <yantis@yantis.net>
+
+pkgname=s3fs-fuse-git
+pkgver=1.78.r449.3056644
+pkgrel=2
+pkgdesc='FUSED-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 "${pkgdir}/usr/share/doc/${pkgname}/README"
+
+ # make install
+ make DESTDIR="${pkgdir}/" install
+}
+
+# vim:set ts=2 sw=2 et: