diff options
author | Omar Vega Ramos <ovruni@gnu.org.pe> | 2015-07-07 16:56:26 -0500 |
---|---|---|
committer | Omar Vega Ramos <ovruni@gnu.org.pe> | 2015-07-07 16:56:26 -0500 |
commit | 836b434667ff6fdc712d7ce81d5c510d60afd4b1 (patch) | |
tree | b405f9b5ca99fc740a101bde5997e4512e3ed4f7 /pcr/ruby-maruku/PKGBUILD | |
parent | dec66742c02103fb8060b7c80c1ecf54319440ec (diff) | |
download | abslibre-836b434667ff6fdc712d7ce81d5c510d60afd4b1.tar.gz abslibre-836b434667ff6fdc712d7ce81d5c510d60afd4b1.tar.bz2 abslibre-836b434667ff6fdc712d7ce81d5c510d60afd4b1.zip |
ruby-maruku-0.7.2-2: updating version
Diffstat (limited to 'pcr/ruby-maruku/PKGBUILD')
-rw-r--r-- | pcr/ruby-maruku/PKGBUILD | 36 |
1 files changed, 17 insertions, 19 deletions
diff --git a/pcr/ruby-maruku/PKGBUILD b/pcr/ruby-maruku/PKGBUILD index 786b03e98..3256da76f 100644 --- a/pcr/ruby-maruku/PKGBUILD +++ b/pcr/ruby-maruku/PKGBUILD @@ -1,27 +1,25 @@ -# Maintainter: Aurelien Desbrieres <aurelien@cwb.io> -# Contributer: Luke Shumaker <lukeshu@sbcglobal.net> -# Maintainer (AUR): Adam Lloyd <lloyda2@rpi.edu> +# Maintainer (Arch): Mario Finelli <mtfinelli at gmail dot com> +# Contributor (Arch): Anatol Pomozov <anatol.pomozov at gmail dot com> +# Contributor (Arch): oliparcol <oliparcol at gmail dot com> +# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe> _gemname=maruku pkgname=ruby-$_gemname -pkgver=0.6.1 -pkgdesc="A Markdown-superset interpreter" -url="http://maruku.rubyforge.org/" - -license=('GPL') # GPL2+ - -pkgrel=1 +pkgver=0.7.2 +pkgrel=2 +pkgdesc='Maruku is a Markdown-superset interpreter written in Ruby.' arch=(any) -depends=(ruby ruby-syntax) -makedepends=(rubygems) -source=(http://gems.rubyforge.org/gems/$_gemname-$pkgver.gem) +url='http://github.com/bhollis/maruku' +license=(MIT) +depends=(ruby) +options=(!emptydirs) +source=(https://rubygems.org/downloads/$_gemname-$pkgver.gem) noextract=($_gemname-$pkgver.gem) +sha256sums=('e8a755d8e9c24f1601157c8b376f0378f88d487fa777aa655f332504557a0798') 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" + local _gemdir="$(ruby -e'puts Gem.default_dir')" + gem install --ignore-dependencies --no-user-install -i "$pkgdir/$_gemdir" -n "$pkgdir/usr/bin" $_gemname-$pkgver.gem + rm "$pkgdir/$_gemdir/cache/$_gemname-$pkgver.gem" + install -D -m644 "$pkgdir/$_gemdir/gems/$_gemname-$pkgver/MIT-LICENSE.txt" "$pkgdir/usr/share/licenses/$pkgname/MIT-LICENSE.txt" } - -md5sums=('b919c2b706ca83502a8bec0be5c16c6d') |