Forwarding. The arch-projects list is probably a better place for this these days.

Allan

-------- Original Message --------
Subject: [pacman-dev] [ABS] Add --verbose flag to gem in PKGBUILD-rubygem.proto
Date: Thu, 21 Apr 2011 19:57:12 +0800
From: talki walki <[email protected]>
Reply-To: Discussion list for pacman development <[email protected]>
To: [email protected]

Without --verbose the `gem install` outputs way too little information
about what is being done.
I suggest this patch:

--- PKGBUILD-rubygem.proto      2011-04-21 11:47:48.254153621 +0000
+++ PKGBUILD-rubygem.proto      2011-04-21 11:48:17.673994240 +0000
@@ -26,7 +26,7 @@
   # makepkg will exit with an error when sourcing the PKGBUILD
   local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')"

- gem install --ignore-dependencies -i "$pkgdir$_gemdir" GEMNAME-$pkgver.gem
+  gem install --ignore-dependencies --verbose -i "$pkgdir$_gemdir" -n
"$pkgdir"/usr/bin GEMNAME-$pkgver.gem
 }

 # vim:set ts=2 sw=2 et:

I've already updated the wiki:
https://wiki.archlinux.org/index.php/Ruby_Gem_Package_Guidelines#Example_PKGBUILD



Reply via email to