updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / ohcount / PKGBUILD
blob49c577b2e15f30fc70db4304c6621aecc4c0a7f2
1 # Contributor: Daniel Fiser <danfis (at) danfis (dot) cz>
2 pkgname=ohcount
3 pkgver=1.0.1
4 pkgrel=1
5 pkgdesc="Ohcount is a source code line counter."
6 arch=(i686 x86_64)
7 url="http://labs.ohloh.net/ohcount"
8 license=('GPL')
9 depends=(ruby rubygems rake pcre)
10 makedepends=()
11 provides=()
12 conflicts=()
13 replaces=()
14 backup=()
15 install=
16 source=(http://labs.ohloh.net/download/$pkgname-$pkgver.tar.gz)
17 noextract=()
18 md5sums=('7263b7fd97799dc52312d0b55c23271b')
20 build() {
21   cd $startdir/src/$pkgname-$pkgver
22   rake clean
23   rake
25   mkdir -p $startdir/pkg/usr/lib/ruby/1.8
26   mkdir -p $startdir/pkg/usr/bin
28   cp -r lib/* $startdir/pkg/usr/lib/ruby/1.8/
29   cp bin/ohcount $startdir/pkg/usr/bin/