updated on Thu Jan 12 08:01:00 UTC 2012
[aur-mirror.git] / ruby-rmagick / PKGBUILD
blob3e6d85ae7b8c125c8042089f11076ab5628ff502
1 # $Id: PKGBUILD 227 2010-02-16 23:39:43Z shtrom $
2 # Contributor: Olivier Mehani <shtrom-aur@ssji.net>
3 pkgname=ruby-rmagick
4 pkgver=2.13.1
5 _sfdlid=70067
6 pkgrel=1
7 pkgdesc="RMagick is an interface between the Ruby programming language and the ImageMagick and GraphicsMagick image processing libraries"
8 arch=('i686' 'x86_64')
9 url="http://rmagick.rubyforge.org"
10 license=('GPL')
11 depends=('ruby>=1.8.2' 'imagemagick' 'graphicsmagick')
12 source=("http://rubyforge.org/frs/download.php/${_sfdlid}/RMagick-${pkgver}.tar.bz2")
14 build() {
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')