updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / rbbr / PKGBUILD
blob5506f2f5eb02e210be8ffa55825b0929ef997f67
1 # Maintainer: Danny Arnold <despair.blue@gmail.com>
2 # Contributer: Danny Arnold <despair.blue@gmail.com>
4 pkgname=rbbr
5 pkgver=0.6.0
6 pkgrel=2
7 pkgdesc="Ruby Meta-Level Information Browser"
8 arch=('i686' 'x86_64')
9 url="http://ruby-gnome2.sourceforge.jp"
10 license=('custom:Ruby Distribute License' 'GPL')
11 depends=('ruby>=1.6.0' 'ruby-gtk2>=0.9.1')
12 makedepends=()
13 source=(http://downloads.sourceforge.net/ruby-gnome2/rbbr-0.6.0.tar.gz
14         moduleview_crash.patch
15         COPYING
16         # http://ruby-gnome2.sourceforge.jp/data/ruby-gnome2-api.tar.gz
17         )
18 md5sums=('00312556c37d830b7d15aa0988f65a37'
19          '45b32717dc76eb1d5d275e124b6ed45c'
20          '88d9dfab369f5010bc1fa2e0b6e319d9')
22 build() {
23  cd $startdir/src/rbbr-$pkgver
24  # cp -r ../ruby-gnome2-api data/rbbr/rd
25  patch -Np1 -i ../moduleview_crash.patch || return 1
26  ruby install.rb config --prefix=/usr
27  ruby install.rb setup
28  ruby install.rb install --prefix=$startdir/pkg
29  mkdir $startdir/pkg/usr/share/licenses
30  mkdir $startdir/pkg/usr/share/licenses/$pkgname
31  cp ../COPYING $startdir/pkg/usr/share/licenses/$pkgname