updated on Sat Jan 14 12:12:45 UTC 2012
[aur-mirror.git] / ruby-stomp / PKGBUILD
blobcfcfaae0625c9793266d1c65de262242a3adc147
1 # Contributor: gem2arch 0.1
2 pkgname=ruby-stomp
3 pkgver=1.1
4 _realname="stomp"
5 pkgrel=1
6 pkgdesc="Ruby client for the Stomp messaging protocol"
7 arch=(any)
8 url="http://stomp.codehaus.org/"
9 license=("GPL")
10 depends=('ruby')
11 source=(http://gems.rubyforge.org/gems/stomp-$pkgver.gem fc721e66beb7d2000f1b6f8bdb81bf1f90aabf35.patch)
12 noextract=(stomp-$pkgver.gem)
14 build() {
15   cd $srcdir
16   local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')"
17   gem install --ignore-dependencies -i "$pkgdir$_gemdir" ${_realname}-$pkgver.gem
18   cd "$pkgdir$_gemdir/gems/$_realname-$pkgver"
19   patch -p 1 -i "$srcdir/fc721e66beb7d2000f1b6f8bdb81bf1f90aabf35.patch" || return 1
21 md5sums=('dc082715aeac2482624167202d6739bb' '6e33365704a777b096711e8f43360198')