1 # Maintainer: Maxwell Pray a.k.a. Synthead <synthead@gmail.com>
2 # Contributor: Ewoud Nuyts <ewoud.nuyts@gmail.com>
7 pkgdesc="Converts a directory of JPEG files to a PDF"
8 url="http://raa.ruby-lang.org/project/jpeg2pdf/"
10 arch=('i686' 'x86_64')
12 source=("http://raa.ruby-lang.org/cache/$pkgname/$pkgname-0.1.tgz"
13 'jpeg2pdf-use-ruby-1.8.patch')
14 md5sums=('5e49eb014d0526d75568766274824e91'
15 '40706bd286018cac834dd060877fb4a4')
18 cd "$srcdir/$pkgname-$pkgver"
19 patch -p1 < "$srcdir/jpeg2pdf-use-ruby-1.8.patch"
20 ruby-1.8 install.rb all --prefix="$pkgdir/opt/ruby1.8" --bindir="$pkgdir/usr/bin"
21 rm "$pkgdir/usr/bin/test.rb"