1 # $Id: PKGBUILD 227 2010-02-16 23:39:43Z shtrom $
2 # Contributor: Olivier Mehani <shtrom-aur@ssji.net>
7 pkgdesc="RMagick is an interface between the Ruby programming language and the ImageMagick and GraphicsMagick image processing libraries"
9 url="http://rmagick.rubyforge.org"
11 depends=('ruby>=1.8.2' '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 setup.rb all --doc-dir=${pkgdir}/usr/share/doc/rmagic || exit 1
19 ruby setup.rb install --prefix=$pkgdir || exit 3
21 md5sums=('fa419869d5533884e4556c8b8b390adb')