updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / ruby-sequel / PKGBUILD
blob22ed5cf7d5647b6cb0eb7076ba91d80f338e1686
1 # Contributor: Jameson Pugh <imntreal@gmail.com>
2 # Maintainer: Jameson Pugh <imntreal@gmail.com>
4 pkgname=ruby-sequel
5 pkgver=3.31.0
6 pkgrel=1
7 pkgdesc="Sequel database toolkit for Ruby"
8 arch=('any')
9 url="http://sequel.rubyforge.org/"
10 license=('MIT')
11 depends=('ruby')
12 makedepends=('rubygems')
13 source=(
14         "http://rubygems.org/downloads/sequel-$pkgver.gem"
15         "ruby-sequel.license")
16 md5sums=('98f35410849e6778a6b6bce1fcf28697'
17          '768544b8f68fce33dc0fda0cbb481681')
19 build() {
20         cd $srcdir
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
25 package() {
26         install -D -m 644 "${srcdir}/ruby-sequel.license" "${pkgdir}/usr/share/licenses/ruby-sequel/COPYING"