updated on Wed Jan 11 00:07:16 UTC 2012
[aur-mirror.git] / eruby / PKGBUILD
blob44024fb87a0eeaba1fdf6a9dad8f1dcf76535a71
1 # Contributor: Jose Valecillos <valecillosjg (at) gmail (dot) com>
3 pkgname=eruby
4 pkgver=1.0.5
5 pkgrel=2
6 pkgdesc="Implementation of eRuby (embedded ruby) written in C."
7 url="http://modruby.org/en/index.rbx/eruby/"
8 license=('GPL' 'LGPL')
9 arch=('i686' 'x86_64')
10 depends=('ruby')
11 makedepends=()
12 source=(http://modruby.org/archive/${pkgname}-${pkgver}.tar.gz patch01.patch)
13 md5sums=('af294fe34dc6cf24228aec95167b3099'
14          '8a222382a5fd662ae6e9b386edaedede')
16 build()
18     cd "$srcdir/$pkgname-$pkgver"
19   
20     patch -p1 -N < "$srcdir/patch01.patch"
22         ./configure.rb || return 1
23         make || return 1
24         make DESTDIR=$startdir/pkg install || return 1