# Maintainer: Christopher Loen # Generated by gem2arch (https://github.com/anatol/gem2arch) # Contributor: Artem Vorotnikov _gemname_='systemu' pkgname="ruby-${_gemname_}" pkgver='2.6.5' pkgrel=1 pkgdesc='Universal capture of stdout and stderr and handling of child process pid for windows, *nix, etc.' arch=('any') url='https://github.com/ahoward/systemu' license=('Ruby') depends=('ruby') options=(!emptydirs) source=("https://rubygems.org/downloads/${_gemname_}-${pkgver}.gem") noextract=("${_gemname_}-${pkgver}.gem") sha256sums=('01f7d014b1453b28e5781e15c4d7d63fc9221c29b174b7aae5253207a75ab33e') 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}.gem" rm "${pkgdir}/${_gemdir}/cache/${_gemname_}-${pkgver}.gem" }