updated on Fri Jan 20 12:03:34 UTC 2012
[aur-mirror.git] / codegraph / PKGBUILD
blob1b9b8b98e41445c16a81e72fb8761e30870ca894
1 # Contributor: Graziano Giuliani <graziano.giuliani@poste.it>
2 pkgname=codegraph
3 pkgver=0.7.18
4 pkgrel=0
5 pkgdesc="Analyse source code dependencies (C, Fortran, Bash, Perl)"
6 arch=(i686 x86_64)
7 url="http://codegraph.rubyforge.org"
8 license=('BSD')
9 groups=(tools)
10 depends=(ruby)
11 makedepends=(rubygems)
12 provides=()
13 conflicts=()
14 replaces=()
15 backup=()
16 options=()
17 install=
18 source=(http://rubygems.org/downloads/$pkgname-$pkgver.gem)
19 noextract=($pkgname-$pkgver.gem)
20 md5sums=('1bba20fb397842c155c8146f92005a88')
22 package() {
23   cd "$srcdir"
24   local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')"
26   gem install --ignore-dependencies -i "$pkgdir$_gemdir" -n "$pkgdir/usr/bin" "$pkgname-$pkgver.gem"
28 # vim:set ts=2 sw=2 et: