summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD28
1 files changed, 28 insertions, 0 deletions
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/"
+}