updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / jpeg2pdf / PKGBUILD
blob5f90d71ec2e5df107775e5ece58c5f5987862dae
1 # Maintainer: Maxwell Pray a.k.a. Synthead <synthead@gmail.com>
2 # Contributor: Ewoud Nuyts <ewoud.nuyts@gmail.com>
4 pkgname=jpeg2pdf
5 pkgver=0.12
6 pkgrel=5
7 pkgdesc="Converts a directory of JPEG files to a PDF"
8 url="http://raa.ruby-lang.org/project/jpeg2pdf/"
9 license=('MIT')
10 arch=('i686' 'x86_64')
11 depends=('ruby1.8')
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')
17 package() {
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"