diff options
author | Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> | 2014-12-26 10:10:32 +0200 |
---|---|---|
committer | Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> | 2014-12-26 11:18:11 +0200 |
commit | 7ca30c3cdf5ab3e6f0c8ccc504d6fd388640b879 (patch) | |
tree | 7778db110dfe49f84723d4bdff374a649c0a3d9c /main/ruby-nokogiri | |
parent | 3d0e8152811d813dd751ab8d55231b00f32beedd (diff) | |
download | aports-7ca30c3cdf5ab3e6f0c8ccc504d6fd388640b879.tar.bz2 aports-7ca30c3cdf5ab3e6f0c8ccc504d6fd388640b879.tar.xz |
main/ruby-rails: upgrade to 4.2.0
Diffstat (limited to 'main/ruby-nokogiri')
-rw-r--r-- | main/ruby-nokogiri/APKBUILD | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/main/ruby-nokogiri/APKBUILD b/main/ruby-nokogiri/APKBUILD new file mode 100644 index 0000000000..91b9af4fa8 --- /dev/null +++ b/main/ruby-nokogiri/APKBUILD @@ -0,0 +1,39 @@ +# Contributor: Fabian Affolter <fabian@affolter-engineering.ch> +# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch> +_gemname=nokogiri +pkgname=ruby-$_gemname +pkgver=1.6.5 +pkgrel=0 +pkgdesc="An HTML, XML, SAX, and Reader parser" +url="http://nokogiri.org/" +arch="all" +license="MIT" +depends="ruby ruby-mini_portile" +depends_dev="" +makedepends="ruby-dev libxml2-dev libxslt-dev libiconv-dev" +install="" +subpackages="" +source="http://gems.rubyforge.org/gems/$_gemname-$pkgver.gem" + +_builddir="$srcdir"/$_gemname-$pkgver +build() { + return 0 +} + +package() { + local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" + local _geminstdir=$_gemdir/gems/$_gemname-$pkgver + mkdir -p "$pkgdir" || return 1 + + gem install --local --install-dir "$pkgdir"/$_gemdir \ + --ignore-dependencies --verbose --no-rdoc --no-ri \ + "$srcdir"/$_gemname-$pkgver.gem -- --use-system-libraries || \ + return 1 + rm -rf "$pkgdir"/$_gemdir/cache \ + "$pkgdir"/$_geminstdir/ext \ + "$pkgdir"/$_geminstdir/.require_paths +} + +md5sums="ac570aa0120b92185606919818d6ff92 nokogiri-1.6.5.gem" +sha256sums="f448c4e37442bf03b759c0e936ccffb498fde433ffdd670f3b9754a09cf9bdf6 nokogiri-1.6.5.gem" +sha512sums="f39f6f048bc09dd8ab316cf7f839c2b5d79398d7be6e01b4b9ce1d9dc66c1d6ae464b9618471a77d8e2494bf90d84d93a609666607737098985cee7395a9990d nokogiri-1.6.5.gem" |