diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2016-04-18 10:58:52 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2016-04-18 10:59:08 +0000 |
commit | ff492afac1051527736b4f1a4b33524730237836 (patch) | |
tree | e3c07b5fd8ffdc26558238d69650aee330da2abe /testing | |
parent | c8def8b2bdbd14e1aa3658282c11b563debdbe3f (diff) | |
download | aports-ff492afac1051527736b4f1a4b33524730237836.tar.bz2 aports-ff492afac1051527736b4f1a4b33524730237836.tar.xz |
testing/ruby-nokogiri: upgrade to 1.6.7.2
Diffstat (limited to 'testing')
-rw-r--r-- | testing/ruby-nokogiri/APKBUILD | 25 |
1 files changed, 13 insertions, 12 deletions
diff --git a/testing/ruby-nokogiri/APKBUILD b/testing/ruby-nokogiri/APKBUILD index f75d3dbf73..26abb99b4e 100644 --- a/testing/ruby-nokogiri/APKBUILD +++ b/testing/ruby-nokogiri/APKBUILD @@ -3,26 +3,27 @@ _gemname=nokogiri pkgname=ruby-$_gemname -pkgver=1.6.6.2 +pkgver=1.6.7.2 pkgrel=0 pkgdesc="Nokogiri (鋸) is an HTML, XML, SAX, and Reader parser" arch="all" url="http://nokogiri.org" license="MIT" depends="ruby" -depends_dev="ruby-dev libxml2-dev libxslt-dev" -makedepends="$depends_dev" +depends_dev="ruby-dev libxml2-dev libxslt-dev zlib-dev xz-dev" +makedepends="$depends_dev ruby-mini_portile2" source="https://rubygems.org/downloads/$_gemname-$pkgver.gem" -_builddir="$srcdir"/$_gemname-$pkgver +builddir="$srcdir"/$_gemname-$pkgver build() { - mkdir -p "$_builddir" || return 1 + mkdir -p "$builddir" || return 1 export _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" - gem install $_gemname -v $pkgver -i "$_builddir"$_gemdir -- \ + gem install \ + --no-ri \ + --no-rdoc \ + $_gemname -v $pkgver -i "$builddir"$_gemdir -- \ --use-system-libraries \ --ignore-dependencies \ --verbose \ - --no-rdoc \ - --no-ri \ || return 1 rm -rf "$pkgdir"/$_gemdir/cache \ "$pkgdir"/$_geminstdir/ext \ @@ -31,9 +32,9 @@ build() { package() { mkdir -p "$pkgdir" || return 1 - cp -ra "$_builddir"/* "$pkgdir"/ || return 1 + cp -ra "$builddir"/* "$pkgdir"/ || return 1 } -md5sums="fc9f91534bf93d57b84f625b55732a7c nokogiri-1.6.6.2.gem" -sha256sums="60c060c694a62145b9224413efa346de5a893582c1fbc0326bc74089c5d898c8 nokogiri-1.6.6.2.gem" -sha512sums="bb0422878e690648ab154c7d1ab0bd4fd9ec0875b2f0be0292ba9cb5541ea33b770794a7ba411e603a06472af4f9a3337ec8ff5d74debd826fc63f1d3ab1d5f1 nokogiri-1.6.6.2.gem" +md5sums="3e2169ebd67863a8a992289e2a887366 nokogiri-1.6.7.2.gem" +sha256sums="fb6afc0faec72b82eeccc84b5d11211aa6c4a81898a433b499ca7a60fcad4b87 nokogiri-1.6.7.2.gem" +sha512sums="27f72763f4f572b9a7042b48bd3a7a7516773eda128be603b8316e8ecaef42028f3d3a190947011cc6973fa4a43265a56f4b563bf28a8b2739b470cc19cee6cd nokogiri-1.6.7.2.gem" |