summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarco Scarpetta2018-01-10 12:48:22 +0100
committerMarco Scarpetta2018-01-10 12:48:22 +0100
commit940a0d3d3035782c1e2f1956eb8f4c2bcd960f40 (patch)
tree197a09a90e084afd143f6af7faec83433eca7c9c
downloadaur-940a0d3d3035782c1e2f1956eb8f4c2bcd960f40.tar.gz
Initial commit
-rw-r--r--.SRCINFO17
-rw-r--r--PKGBUILD28
-rw-r--r--drivesync3
3 files changed, 48 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..772c5703717
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,17 @@
+pkgbase = drivesync
+ pkgdesc = Google Drive synchronization for Linux
+ pkgver = 1.3.1
+ pkgrel = 1
+ url = https://github.com/MStadlmeier/drivesync
+ arch = any
+ license = MIT
+ makedepends = ruby-bundler
+ depends = ruby>=2.5.0
+ depends = ruby<2.6.0
+ source = https://github.com/MStadlmeier/drivesync/archive/1.3.1.tar.gz
+ source = drivesync
+ sha512sums = ae5a24b39bf89fa74427d01cbd394a03b87f15403b36cfce6388ee6c2428eb0f8bec40761179d83582e9272e0b476e7b72f5ec96f006415c72c9b140da01381e
+ sha512sums = ee46c6dcff180f581bbe0f80991f5b6fc0403683fe9e28e19d2263b9f6b93e71d90a70ff2def3d79d0635477fc7ebeac585be43ec4c2696615063cdd0fcf75dd
+
+pkgname = drivesync
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..42e73a5c37a
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,28 @@
+# Maintainer: Marco Scarpetta <marcoscarpetta02@gmail.com>
+
+pkgname=drivesync
+pkgver=1.3.1
+pkgrel=1
+pkgdesc='Google Drive synchronization for Linux'
+arch=('any')
+url='https://github.com/MStadlmeier/drivesync'
+license=('MIT')
+depends=('ruby>=2.5.0' 'ruby<2.6.0')
+makedepends=('ruby-bundler')
+source=("https://github.com/MStadlmeier/$pkgname/archive/$pkgver.tar.gz"
+ 'drivesync')
+sha512sums=('ae5a24b39bf89fa74427d01cbd394a03b87f15403b36cfce6388ee6c2428eb0f8bec40761179d83582e9272e0b476e7b72f5ec96f006415c72c9b140da01381e'
+ 'ee46c6dcff180f581bbe0f80991f5b6fc0403683fe9e28e19d2263b9f6b93e71d90a70ff2def3d79d0635477fc7ebeac585be43ec4c2696615063cdd0fcf75dd')
+
+build() {
+ cd "$pkgname-$pkgver"
+ bundle install --no-cache --deployment
+}
+
+package() {
+ install -D -m755 'drivesync' "$pkgdir/usr/bin/drivesync"
+ install -d -m755 "$pkgdir/usr/share/drivesync"
+
+ cd "$pkgname-$pkgver"
+ cp -r * "$pkgdir/usr/share/drivesync/"
+}
diff --git a/drivesync b/drivesync
new file mode 100644
index 00000000000..b8e64283b97
--- /dev/null
+++ b/drivesync
@@ -0,0 +1,3 @@
+#!/usr/bin/bash
+
+GEM_PATH='/usr/share/drivesync/vendor/bundle/ruby/2.5.0/' ruby /usr/share/drivesync/drivesync.rb