updated on Wed Jan 11 08:01:35 UTC 2012
[aur-mirror.git] / ruby-lockfile / PKGBUILD
blobd4dc00f492a8d1adf1935c08659fa4fe908cd2a5
1 # Maintainer: David Campbell <davekong@archlinux.us>
2 pkgname=ruby-lockfile
3 pkgver=1.4.3
4 pkgrel=2
5 pkgdesc="nfs safe lockfile creation"
6 arch=(any)
7 url="http://codeforpeople.com/lib/ruby/lockfile/"
8 license=('GPL')
9 depends=(ruby)
10 makedepends=(rubygems)
11 source=("http://gems.rubyforge.org/gems/lockfile-$pkgver.gem")
12 noextract=("lockfile-$pkgver.gem")
13 md5sums=('53a63206bbaefb7106db5a74a5adf148')
15 build() {
16   cd "$srcdir/"
17   local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')"
18   gem install --ignore-dependencies -i "$pkgdir$_gemdir" lockfile-$pkgver.gem \
19   -n "$pkgdir/usr/bin"
22 # vim:set ts=2 sw=2 et: