summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD8
2 files changed, 6 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 140da5e0a8f..ebcc0b6ccc0 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,7 @@
-# Generated by mksrcinfo v8
-# Sun Dec 10 06:19:51 UTC 2017
pkgbase = ruby-azure-signature
pkgdesc = The azure-signature library generates storage signatures for Microsoft Azure's cloud platform
pkgver = 0.2.3
- pkgrel = 2
+ pkgrel = 3
url = http://github.com/ManageIQ/azure-signature
arch = any
license = Apache 2.0
diff --git a/PKGBUILD b/PKGBUILD
index ed788d029d4..532b99babc1 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=ruby-azure-signature
pkgver=0.2.3
-pkgrel=2
+pkgrel=3
pkgdesc="The azure-signature library generates storage signatures for Microsoft Azure's cloud platform"
arch=(any)
url="http://github.com/ManageIQ/azure-signature"
@@ -15,6 +15,8 @@ noextract=(${pkgname#ruby-}-$pkgver.gem)
sha512sums=('d48d48f09165981afccdcc02620c1ee9ffc8342cbfa929bb32b8e902a169ff35063818f77ebfd94d15fbeb7f8ba79c9d53823519eef89da1a9a35069d2db1933')
package() {
- cd "$srcdir"
- gem install --no-user-install --ignore-dependencies -i "$pkgdir$(ruby -rubygems -e'puts Gem.default_dir')" -n "$pkgdir/usr/bin" "${pkgname#ruby-}-$pkgver.gem"
+ local _gemdir="$(ruby -e'puts Gem.default_dir')"
+ gem install --no-user-install --ignore-dependencies -i "$pkgdir/$_gemdir" -n "$pkgdir/usr/bin" "${pkgname#ruby-}-$pkgver.gem"
+ rm "$pkgdir/$_gemdir/cache/${pkgname#ruby-}-$pkgver.gem"
+
}