diff options
author | Artem Vorotnikov | 2015-06-14 06:00:17 +0300 |
---|---|---|
committer | Artem Vorotnikov | 2015-06-14 06:00:17 +0300 |
commit | 0aa592a67427ba08d67ae2eba60db350b7f1c392 (patch) | |
tree | 97901a1da654ccff0ec061a3cdfaff01c9f8631a | |
download | aur-0aa592a67427ba08d67ae2eba60db350b7f1c392.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 23 |
2 files changed, 39 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..43348977fa42 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = ruby-fog-local + pkgdesc = Module for the 'fog' gem to support local filesystem storage. + pkgver = 0.2.1 + pkgrel = 1 + url = https://github.com/fog/fog-local + arch = any + license = MIT + depends = ruby + depends = ruby-fog-core + noextract = fog-local-0.2.1.gem + options = !emptydirs + source = https://rubygems.org/downloads/fog-local-0.2.1.gem + sha512sums = 77dcc92d6b546ebc971e4a0b04f06e1f337a17d5eb54737d399ce1e887cdf68b5be24dcaac7af8778a010097ff46c89b454944ddd00316d3898bf8dcae61e12f + +pkgname = ruby-fog-local + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..65c73b9ea552 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,23 @@ +# Generated by gem2arch (https://github.com/anatol/gem2arch) +# Maintainer: Artem Vorotnikov <artem@vorotnikov.me> + +_gemname=fog-local +pkgname=ruby-$_gemname +pkgver=0.2.1 +pkgrel=1 +pkgdesc='Module for the '\''fog'\'' gem to support local filesystem storage.' +arch=(any) +url='https://github.com/fog/fog-local' +license=(MIT) +depends=(ruby ruby-fog-core) +options=(!emptydirs) +source=(https://rubygems.org/downloads/$_gemname-$pkgver.gem) +noextract=($_gemname-$pkgver.gem) +sha512sums=('77dcc92d6b546ebc971e4a0b04f06e1f337a17d5eb54737d399ce1e887cdf68b5be24dcaac7af8778a010097ff46c89b454944ddd00316d3898bf8dcae61e12f') + +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" +} |