[arch-commits] Commit in ruby-sys-proctable/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Thu Dec 26 00:34:35 UTC 2019
Date: Thursday, December 26, 2019 @ 00:34:34
Author: felixonmars
Revision: 541639
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 541637, ruby-sys-proctable/trunk/PKGBUILD)
----------+
PKGBUILD | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
Copied: ruby-sys-proctable/repos/community-staging-any/PKGBUILD (from rev 541637, ruby-sys-proctable/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2019-12-26 00:34:34 UTC (rev 541639)
@@ -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.2
+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=('3bae5bf31be1fbc93576f172abc16fd355eadaf7685127399584404879d9ff7091c63620782cc00999550fa11e8361055a6009a68277a70ed507397f2409c6b9')
+
+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