1 # Contributor: Blaž Tomažič <blaz.tomazic@gmail.com>
2 pkgname=ruby1.8-rmagick
6 pkgdesc="RMagick is an interface between the Ruby programming language and the ImageMagick and GraphicsMagick image processing libraries"
8 url="http://rmagick.rubyforge.org"
10 #depends=('ruby1.8' 'imagemagick=6.6.9.8' 'graphicsmagick=1.3.12')
11 depends=('ruby1.8' 'imagemagick' 'graphicsmagick')
12 source=("http://rubyforge.org/frs/download.php/${_sfdlid}/RMagick-${pkgver}.tar.bz2")
15 cd "$srcdir/RMagick-$pkgver"
16 # the post-install.rb script does not seem to take the prefix into account
17 # when installing docs, we have to force it
18 ruby-1.8 setup.rb all --doc-dir=${pkgdir}/usr/share/doc/rmagic || exit 1
19 ruby-1.8 setup.rb install --prefix=$pkgdir || exit 3
21 md5sums=('fa419869d5533884e4556c8b8b390adb')