1 # Contributor: Jameson Pugh <imntreal@gmail.com>
2 # Maintainer: Jameson Pugh <imntreal@gmail.com>
7 pkgdesc="Sequel database toolkit for Ruby"
9 url="http://sequel.rubyforge.org/"
12 makedepends=('rubygems')
14 "http://rubygems.org/downloads/sequel-$pkgver.gem"
15 "ruby-sequel.license")
16 md5sums=('98f35410849e6778a6b6bce1fcf28697'
17 '768544b8f68fce33dc0fda0cbb481681')
21 local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')"
22 gem install --ignore-dependencies --verbose -i "$pkgdir$_gemdir" -n "$pkgdir"/usr/bin sequel-$pkgver.gem
26 install -D -m 644 "${srcdir}/ruby-sequel.license" "${pkgdir}/usr/share/licenses/ruby-sequel/COPYING"