summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 9b4f4ec7b29c9bef4b04eb352b868c4026dc525a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Generated by gem2arch (https://github.com/anatol/gem2arch)
# Maintainer: Christoph Scholz <christoph.scholz@gmail.com>

_gemname=sys-proctable
pkgname=ruby-$_gemname
pkgver=1.0.0
pkgrel=1
pkgdesc='An interface for providing process table information'
arch=(any)
url='http://github.com/djberg96/sys-proctable'
license=('Artistic 2.0')
depends=(ruby)
options=(!emptydirs)
source=(https://rubygems.org/downloads/$_gemname-$pkgver-universal-linux.gem)
noextract=($_gemname-$pkgver.gem)
sha1sums=('a04102e38ace532079f9381da50d7f4b021dac6d')

package() {
  local _gemdir="$(ruby -e'puts Gem.default_dir')"
  gem install --ignore-dependencies --no-user-install -i "$pkgdir/$_gemdir" -n "$pkgdir/usr/bin" $_gemname-$pkgver-universal-linux.gem
  rm "$pkgdir/$_gemdir/cache/$_gemname-$pkgver-universal-linux.gem"
}