diff options
author | Omar Vega Ramos <ovruni@gnu.org.pe> | 2015-05-02 02:23:53 -0500 |
---|---|---|
committer | Omar Vega Ramos <ovruni@gnu.org.pe> | 2015-05-02 02:23:53 -0500 |
commit | 540860c03bd86a80d3650ac0ba185a2105062b7e (patch) | |
tree | 332f293fdfee068d95c35cd283702ce8b2e3fac4 | |
parent | e3c7ded77779c5a66638864351513c25de0c346d (diff) |
ruby-yard-0.8.7.4-1: updating version
-rw-r--r-- | pcr/ruby-yard/PKGBUILD | 43 |
1 files changed, 16 insertions, 27 deletions
diff --git a/pcr/ruby-yard/PKGBUILD b/pcr/ruby-yard/PKGBUILD index 56a612cbd..ffa8f9e9a 100644 --- a/pcr/ruby-yard/PKGBUILD +++ b/pcr/ruby-yard/PKGBUILD @@ -1,36 +1,25 @@ -# Maintainer (Arch): Matt Harrison <matt at mistbyte dot com> +# 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> -pkgname=ruby-yard -_gemname=${pkgname#ruby-} -pkgver=0.8.2.1 -pkgrel=2 +_gemname=yard +pkgname=ruby-$_gemname +pkgver=0.8.7.4 +pkgrel=1 pkgdesc="Documentation tool for consistent and usable documentation in Ruby." arch=('any') url="http://yardoc.org" license=('MIT') -groups=() -depends=() +depends=('ruby') makedepends=('rubygems') -optdepends=() -provides=() -conflicts=() -replaces=() -backup=() -options=() -install= -source=("http://gems.rubyforge.org/gems/yard-${pkgver}.gem") -noextract=("yard-${pkgver}.gem") +source=("http://gems.rubyforge.org/gems/$_gemname-$pkgver.gem") +noextract=("$_gemname-$pkgver.gem") +sha256sums=('e65a26f9b9dc6e2aa9b1d1d2e1a45bee3edf540a6a7e6c30fa6aa1df7f7a29b4') -build() { - 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 - install -D "$pkgdir$_gemdir/gems/${_gemname}-$pkgver/LICENSE" \ - "$pkgdir/usr/share/licenses/${pkgname}/LICENSE" +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" + install -D "$pkgdir$_gemdir/gems/${_gemname}-$pkgver/LICENSE" "$pkgdir/usr/share/licenses/${pkgname}/LICENSE" } - -md5sums=('08a48d23f8729b68945011cae7d121fe') - -# vim:set ts=2 sw=2 et: |