# Maintainer: Marco Scarpetta 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/" }