updated on Mon Jan 16 20:00:43 UTC 2012
[aur-mirror.git] / ruby1.8-rmagick / PKGBUILD
bloba0465c6d70abd7c306bf1ed8c18d97dc9e90e71c
1 # Contributor: Blaž Tomažič <blaz.tomazic@gmail.com>
2 pkgname=ruby1.8-rmagick
3 pkgver=2.13.1
4 _sfdlid=70067
5 pkgrel=4
6 pkgdesc="RMagick is an interface between the Ruby programming language and the ImageMagick and GraphicsMagick image processing libraries"
7 arch=('i686' 'x86_64')
8 url="http://rmagick.rubyforge.org"
9 license=('GPL')
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")
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-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')