diff options
Diffstat (limited to 'pcr/ruby-yard/PKGBUILD')
-rw-r--r-- | pcr/ruby-yard/PKGBUILD | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/pcr/ruby-yard/PKGBUILD b/pcr/ruby-yard/PKGBUILD index ffa8f9e9a..958f80e46 100644 --- a/pcr/ruby-yard/PKGBUILD +++ b/pcr/ruby-yard/PKGBUILD @@ -1,25 +1,24 @@ -# Contributor (Arch): Jerome Leclanche <jerome@leclan.ch> -# Contributor (Arch): Matt Harrison <matt at mistbyte dot com> -# Contributor (Arch): Renzo Carbonara <gnuk0001@gmail.com> -# Maintainer : Omar Vega Ramos <ovruni@gnu.org.pe> +# Maintainer (Arch): Jerome Leclanche <jerome@leclan.ch> +# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe> _gemname=yard pkgname=ruby-$_gemname -pkgver=0.8.7.4 +pkgver=0.8.7.6 pkgrel=1 pkgdesc="Documentation tool for consistent and usable documentation in Ruby." -arch=('any') +arch=("any") url="http://yardoc.org" -license=('MIT') -depends=('ruby') -makedepends=('rubygems') +license=("MIT") +depends=("ruby") +makedepends=("rubygems") source=("http://gems.rubyforge.org/gems/$_gemname-$pkgver.gem") noextract=("$_gemname-$pkgver.gem") -sha256sums=('e65a26f9b9dc6e2aa9b1d1d2e1a45bee3edf540a6a7e6c30fa6aa1df7f7a29b4') +sha256sums=("3da10884b94fa25b7476f619b1d2cfb61290e10673965c545975630cd88a46b6") + package() { cd "$srcdir" - local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" + 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" install -D "$pkgdir$_gemdir/gems/${_gemname}-$pkgver/LICENSE" "$pkgdir/usr/share/licenses/${pkgname}/LICENSE" } |