updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / ruby-contest / PKGBUILD
blob7fd11113f370cbcdf8ba8cda9584ccba4c1d935c
1 # Maintainer: "David Campbell <davekong@archlinux.us>"
2 pkgname=ruby-contest
3 pkgver=0.1.2
4 pkgrel=2
5 pkgdesc="Write more readable tests in Test::Unit with this tiny script."
6 arch=('any')
7 url="http://github.com/citrusbyte/contest"
8 license=('custom')
9 makedepends=('rubygems')
10 source=("http://gems.rubyforge.org/gems/contest-${pkgver}.gem")
11 noextract=("contest-${pkgver}.gem")
12 md5sums=('8dec241e50738dc2015dfcc5356b8460')
14 build() {
15   cd $srcdir
16   local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')"
17   gem install --ignore-dependencies -i "$pkgdir$_gemdir" contest-$pkgver.gem \
18   -n "$pkgdir/usr/bin"
19   install -Dm644  $pkgdir/usr/lib/ruby/gems/1.9.1/gems/contest-0.1.2/LICENSE \
20                   $pkgdir/usr/share/licenses/$pkgname/LICENSE
23 # vim:set ts=2 sw=2 et: