summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorArtem Vorotnikov2015-06-14 06:00:02 +0300
committerArtem Vorotnikov2015-06-14 06:00:02 +0300
commit6c6a7a9fcf4bb4a0f2a9c1313a81dc5f07220836 (patch)
tree173cf4e7af81226453bcaac096c85c3f35e6b04e
downloadaur-6c6a7a9fcf4bb4a0f2a9c1313a81dc5f07220836.tar.gz
Initial import
-rw-r--r--.SRCINFO18
-rw-r--r--PKGBUILD23
2 files changed, 41 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..360f4b39150
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,18 @@
+pkgbase = ruby-fog-google
+ pkgdesc = Module for the 'fog' gem to support Google.
+ pkgver = 0.0.5
+ pkgrel = 1
+ url = https://github.com/fog/fog-google
+ arch = any
+ license = MIT
+ depends = ruby
+ depends = ruby-fog-core
+ depends = ruby-fog-json
+ depends = ruby-fog-xml
+ noextract = fog-google-0.0.5.gem
+ options = !emptydirs
+ source = https://rubygems.org/downloads/fog-google-0.0.5.gem
+ sha512sums = 851e3a4b7f687152e309ce5755d5ed2782deddd71ed82815ab4af32f1b991676b6120371e5e835d08960ae0c1c4ee2633fe73845943651693bced3acbbf3672c
+
+pkgname = ruby-fog-google
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..931ec9c6ccd
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,23 @@
+# Generated by gem2arch (https://github.com/anatol/gem2arch)
+# Maintainer: Artem Vorotnikov <artem@vorotnikov.me>
+
+_gemname=fog-google
+pkgname=ruby-$_gemname
+pkgver=0.0.5
+pkgrel=1
+pkgdesc='Module for the '\''fog'\'' gem to support Google.'
+arch=(any)
+url='https://github.com/fog/fog-google'
+license=(MIT)
+depends=(ruby ruby-fog-core ruby-fog-json ruby-fog-xml)
+options=(!emptydirs)
+source=(https://rubygems.org/downloads/$_gemname-$pkgver.gem)
+noextract=($_gemname-$pkgver.gem)
+sha512sums=('851e3a4b7f687152e309ce5755d5ed2782deddd71ed82815ab4af32f1b991676b6120371e5e835d08960ae0c1c4ee2633fe73845943651693bced3acbbf3672c')
+
+package() {
+ local _gemdir="$(ruby -e'puts Gem.default_dir')"
+ gem install --ignore-dependencies --no-user-install -i "$pkgdir/$_gemdir" -n "$pkgdir/usr/bin" $_gemname-$pkgver.gem
+ rm "$pkgdir/$_gemdir/cache/$_gemname-$pkgver.gem"
+ install -D -m644 "$pkgdir/$_gemdir/gems/$_gemname-$pkgver/LICENSE.md" "$pkgdir/usr/share/licenses/$pkgname/LICENSE.md"
+}