summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 4f39eb0c7ffbcb97cc398dcbc4839fbb432c6cf5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Maintainer: Jason Paris <paris3200@gmail.com>
# Contributer: Storm Dragon <stormdragon2976@gmail.com>
# Contributer: Andy Weidenbaum <archbaum@gmail.com>

pkgname=ruby-sequel
pkgver=5.31.0
pkgrel=1
pkgdesc="The Database Toolkit for Ruby"
arch=('any')
url="http://sequel.jeremyevans.net"
license=('MIT')
depends=('ruby')
makedepends=('ruby-rdoc')
optdepends=('ruby-sqlite3: SQLite support')
source=(https://rubygems.org/downloads/${pkgname#*-}-${pkgver}.gem)
noextract=("${pkgname#*-}-${pkgver}.gem")
provides=('sequel' 'ruby-sequel')
conflicts=('sequel')
sha256sums=('19f11682cc9ac11eb6c8c897120c1daf256db88dceef955b89dc4e8ba9086257')

package() {
  cd "$srcdir"

  echo 'Installing...'
  gem install \
    --no-user-install \
    --ignore-dependencies \
    -i "$pkgdir$(ruby -r rubygems -e'puts Gem.default_dir')" \
    ${pkgname#*-}-$pkgver.gem
}