diff options
-rw-r--r-- | main/ruby-rmagick/APKBUILD | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/main/ruby-rmagick/APKBUILD b/main/ruby-rmagick/APKBUILD index 6091c3b7c9..796aeaed85 100644 --- a/main/ruby-rmagick/APKBUILD +++ b/main/ruby-rmagick/APKBUILD @@ -1,16 +1,16 @@ # Contributor: Carlo Landmeter <clandmeter@alpinelinux.org> -# Maintainer: +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=ruby-rmagick _gemname=rmagick pkgver=2.13.1 -pkgrel=2 +pkgrel=3 pkgdesc="Ruby ImageMagick interface" url="http://rmagick.rubyforge.org" arch="all" license="custom" depends="ruby ghostscript-fonts" depends_dev="ruby-dev imagemagick-dev freetype-dev jpeg-dev zlib-dev" -makedepends="$depends_dev ruby rubygems" +makedepends="$depends_dev ruby ruby-gems" install="" subpackages="" source="http://gems.rubyforge.org/gems/$_gemname-$pkgver.gem" @@ -23,14 +23,11 @@ build() { package() { local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" local _geminstdir=$_gemdir/gems/$_gemname-$pkgver - local _ruby_archdir=$(ruby -rrbconfig -e "puts Config::CONFIG['archdir']") mkdir -p "$pkgdir" || return 1 - mkdir -p "$pkgdir"/$_ruby_archdir || return 1 gem install --local --install-dir "$pkgdir"/$_gemdir \ --ignore-dependencies --verbose --no-rdoc --no-ri \ "$srcdir"/$_gemname-$pkgver.gem || return 1 - mv "$pkgdir"/$_geminstdir/lib/*.so "$pkgdir"/$_ruby_archdir/ rm -rf "$pkgdir"/$_gemdir/cache \ "$pkgdir"/$_geminstdir/ext \ "$pkgdir"/$_geminstdir/.require_paths |