[arch-commits] Commit in ruby-sys-proctable/repos (2 files)

Evangelos Foutras foutrelis at archlinux.org
Mon Jan 7 01:14:01 UTC 2019


    Date: Monday, January 7, 2019 @ 01:14:00
  Author: foutrelis
Revision: 420859

archrelease: copy trunk to community-staging-any

Added:
  ruby-sys-proctable/repos/community-staging-any/
  ruby-sys-proctable/repos/community-staging-any/PKGBUILD
    (from rev 420858, ruby-sys-proctable/trunk/PKGBUILD)

----------+
 PKGBUILD |   33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

Copied: ruby-sys-proctable/repos/community-staging-any/PKGBUILD (from rev 420858, ruby-sys-proctable/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2019-01-07 01:14:00 UTC (rev 420859)
@@ -0,0 +1,33 @@
+# Generated by gem2arch (https://github.com/anatol/gem2arch)
+# Maintainer: Thore Bödecker <foxxx0 at archlinux.org>
+# Contributor: Christoph Scholz <christoph.scholz at gmail.com>
+
+_gemname='sys-proctable'
+pkgname="ruby-${_gemname}"
+pkgver=1.2.1
+pkgrel=2
+pkgdesc='An interface for providing process table information'
+arch=('any')
+url='https://github.com/djberg96/sys-proctable'
+license=('Apache')
+depends=('ruby' 'ruby-ffi')
+makedepends=('ruby-rdoc')
+options=('!emptydirs')
+source=("https://rubygems.org/gems/${_gemname}-${pkgver}.gem")
+noextract=("${_gemname}-${pkgver}.gem")
+sha512sums=('af52b0fa7a3f8910402baeb1f5570d6b2fc386fa124c1b79c3c2cb4ed02d1d258d3b35de6e1be915978947bfeb588031280d93b5bf7b8df8180302efcb12591d')
+
+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"
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list