diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2012-10-12 12:28:32 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2012-10-15 14:22:18 +0000 |
commit | c961c203446b59afbe21efb1bc52d5c322d019e3 (patch) | |
tree | a06b6a282faf44c546ba29436bc2685ac5fd987a /main/ruby-rmagick/APKBUILD | |
parent | 45607bc1477202e1308cc8dcb038fe9fc67885b7 (diff) | |
download | aports-c961c203446b59afbe21efb1bc52d5c322d019e3.tar.bz2 aports-c961c203446b59afbe21efb1bc52d5c322d019e3.tar.xz |
main/ruby-rmagick: rebuild against ruby-1.9
also remove unused ruby_arch dir
Diffstat (limited to 'main/ruby-rmagick/APKBUILD')
-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 |