summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authormnovick19882017-01-02 10:38:13 -0500
committermnovick19882017-01-02 10:38:13 -0500
commit42e3bda49daf0fd598f4c33a9a21b44ae905ca04 (patch)
tree7202050d32bfdbd2b94183e1bb5c1916dbbf684f
downloadaur-42e3bda49daf0fd598f4c33a9a21b44ae905ca04.tar.gz
Initial Commit. Please Report any issues.
-rw-r--r--.SRCINFO22
-rw-r--r--PKGBUILD43
2 files changed, 65 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..efccf9f1715
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,22 @@
+pkgbase = google-drive-ocamlfuse-git
+ pkgdesc = FUSE filesystem backed by Google Drive, written in OCaml.
+ pkgver = r430.aa926af
+ pkgrel = 1
+ url = http://gdfuse.forge.ocamlcore.org/
+ arch = x86_64
+ arch = i686
+ license = MIT
+ depends = ocaml>=3.12.0
+ depends = ocaml-findlib>=1.2.7
+ depends = ocamlfuse>=2.7.1
+ depends = gapi-ocaml>=0.2.10
+ depends = ocaml-sqlite3>=1.6.1
+ provides = google-drive-ocamlfuse
+ provides = google-drive-ocamlfuse-git
+ conflicts = google-drive-ocamlfuse
+ options = staticlibs
+ source = google-drive-ocamlfuse-git::git+https://github.com/astrada/google-drive-ocamlfuse.git
+ md5sums = SKIP
+
+pkgname = google-drive-ocamlfuse-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..8aeb8d52449
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,43 @@
+# Maintainer: Christopher Price <pricechrispy at gmail dot com>
+# Contributor: Moritz Lipp <mlq@pwmt.org>
+pkgname=google-drive-ocamlfuse-git
+pkgver=r430.aa926af
+pkgrel=1
+pkgdesc="FUSE filesystem backed by Google Drive, written in OCaml."
+arch=('x86_64' 'i686')
+url="http://gdfuse.forge.ocamlcore.org/"
+license=('MIT')
+provides=('google-drive-ocamlfuse' 'google-drive-ocamlfuse-git')
+depends=('ocaml>=3.12.0' 'ocaml-findlib>=1.2.7' 'ocamlfuse>=2.7.1'
+'gapi-ocaml>=0.2.10' 'ocaml-sqlite3>=1.6.1')
+conflicts=('google-drive-ocamlfuse')
+source=(google-drive-ocamlfuse-git::git+https://github.com/astrada/google-drive-ocamlfuse.git)
+md5sums=('SKIP')
+options=('staticlibs')
+
+pkgver() {
+ cd "$srcdir/$pkgname"
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+build() {
+ cd "$srcdir/$pkgname"
+
+ ocaml setup.ml -configure --prefix /usr --destdir "$pkgdir" --exec-prefix "$pkgdir/usr"
+
+ ocaml setup.ml -build
+}
+
+check() {
+ cd "$srcdir/$pkgname"
+
+ ocaml setup.ml -test
+}
+
+package() {
+ cd "$srcdir/$pkgname"
+
+ export OCAMLFIND_DESTDIR="$pkgdir/$(ocamlfind printconf destdir)"
+
+ ocaml setup.ml -install
+}