diff options
author | Mario Finelli | 2015-07-06 20:38:14 -0400 |
---|---|---|
committer | Mario Finelli | 2015-07-06 20:38:14 -0400 |
commit | afaaff4673bfca612748d11362cd3ff7b3175ba2 (patch) | |
tree | 1606e0086b7ac349aa3d868295434230b85a5744 | |
download | aur-ruby-oauth2-client.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 17 | ||||
-rw-r--r-- | .gitignore | 4 | ||||
-rw-r--r-- | PKGBUILD | 22 |
3 files changed, 43 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..974410e5a818 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,17 @@ +pkgbase = ruby-oauth2-client + pkgdesc = Create quick and dirty OAuth2 clients. + pkgver = 2.0.0 + pkgrel = 2 + url = https://tiabas.github.io/oauth2-client/ + arch = any + license = MIT + makedepends = rubygems + depends = ruby + depends = ruby-addressable + depends = ruby-bcrypt-ruby + noextract = oauth2-client-2.0.0.gem + source = https://rubygems.org/downloads/oauth2-client-2.0.0.gem + sha256sums = f1418e5d7589604cd630ce21861a31e67347903a9bf21021f8866b0eaa4cf799 + +pkgname = ruby-oauth2-client + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..f71c635dafda --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +* +!.gitignore +!PKGBUILD +!.SRCINFO diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..a64df76777e0 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,22 @@ +# Maintainer: Mario Finelli <mario dot finelli at yahoo dot com> + +_gemname=oauth2-client +pkgname=ruby-$_gemname +pkgver=2.0.0 +pkgrel=2 +pkgdesc="Create quick and dirty OAuth2 clients." +arch=(any) +url="https://tiabas.github.io/oauth2-client/" +license=('MIT') +depends=('ruby' 'ruby-addressable' 'ruby-bcrypt-ruby') +makedepends=('rubygems') +source=(https://rubygems.org/downloads/$_gemname-$pkgver.gem) +noextract=($_gemname-$pkgver.gem) +sha256sums=('f1418e5d7589604cd630ce21861a31e67347903a9bf21021f8866b0eaa4cf799') + +package() { + cd "$srcdir" + local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" + + gem install --no-user-install --ignore-dependencies -i "$pkgdir$_gemdir" -n "$pkgdir/usr/bin" "$_gemname-$pkgver.gem" +} |