[arch-commits] Commit in ruby-pkgconfig/trunk (PKGBUILD)

Alexander Rødseth arodseth at nymeria.archlinux.org
Thu Mar 7 14:33:43 UTC 2013


    Date: Thursday, March 7, 2013 @ 15:33:43
  Author: arodseth
Revision: 85820

upgpkg: ruby-pkgconfig 1.1.4-1, ruby 2.0 todo

Modified:
  ruby-pkgconfig/trunk/PKGBUILD

----------+
 PKGBUILD |   22 ++++++++++++----------
 1 file changed, 12 insertions(+), 10 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-03-07 14:29:05 UTC (rev 85819)
+++ PKGBUILD	2013-03-07 14:33:43 UTC (rev 85820)
@@ -6,22 +6,24 @@
 
 pkgname=ruby-pkgconfig
 _pkgname=pkg-config
-pkgver=1.1.3
+pkgver=1.1.4
 pkgrel=1
-pkgdesc="Implementation of pkg-config in ruby"
-arch=(any)
-url="http://github.com/rcairo/pkg-config"
-license=("LGPL")
+pkgdesc='Implementation of pkg-config in ruby'
+arch=('any')
+url='http://github.com/rcairo/pkg-config'
+license=('LGPL')
 depends=('ruby')
 source=("http://gems.rubyforge.org/gems/$_pkgname-$pkgver.gem")
-sha256sums=('4a71fb7e9750bca9e6c2690ce785427201c9b68c5d44fd2dfb2c814caca934ec')
-noextract=($_pkgname-$pkgver.gem)
+sha256sums=('c08fc6596eeef6f0fcfd4c8433010a143c22142f9cccbc2666f32c67c5af8b34')
+noextract=("$_pkgname-$pkgver.gem")
 
 package() {
-  _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')"
+  cd "$srcdir"
 
-  cd "$srcdir"
-  gem install --no-user-install --ignore-dependencies -i "$pkgdir$_gemdir" \
+  gem install \
+    --no-user-install \
+    --ignore-dependencies \
+    -i "$pkgdir$(ruby -rubygems -e'puts Gem.default_dir')" \
     $_pkgname-$pkgver.gem
 }
 




More information about the arch-commits mailing list