updated on Thu Jan 12 04:00:44 UTC 2012
[aur-mirror.git] / ruby-callsign / PKGBUILD
blob58e8bc197b85afbf45981b6ed030e689a81da077
1 # Contributor: Liam Dunn <baddog144@gmail.com>
3 pkgname=ruby-callsign
4 pkgver=1.0.2
5 pkgrel=1
6 pkgdesc="A ruby gem for retrieving information about a ham radio operator based on their callsign"
7 arch=(any)
8 url="http://rubyforge.org/projects/callsign"
9 license=('BSD')
10 depends=(ruby)
11 makedepends=(rubygems)
12 source=(http://files.rubyforge.vm.bytemark.co.uk/callsign/callsign-$pkgver.gem)
13 md5sums=('0d9e0baceca44184a4576b8adac2cfb5')
15 build() {
16         local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')"
17         sudo gem install -i "$pkgdir$_gemdir" callsign-$pkgver.gem
18         echo "To remove this package, run pacman -R callsign-gem && sudo gem uninstall callsign-gem"