[arch-commits] Commit in ruby-stomp/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Thu Dec 26 00:28:45 UTC 2019
Date: Thursday, December 26, 2019 @ 00:28:44
Author: felixonmars
Revision: 541604
archrelease: copy trunk to community-staging-any
Added:
ruby-stomp/repos/community-staging-any/
ruby-stomp/repos/community-staging-any/PKGBUILD
(from rev 541603, ruby-stomp/trunk/PKGBUILD)
----------+
PKGBUILD | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
Copied: ruby-stomp/repos/community-staging-any/PKGBUILD (from rev 541603, ruby-stomp/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2019-12-26 00:28:44 UTC (rev 541604)
@@ -0,0 +1,31 @@
+# Maintainer: Thore Bödecker <foxxx0 at archlinux.org>
+
+_gemname=stomp
+pkgname="ruby-${_gemname}"
+pkgver=1.4.8
+pkgrel=2
+pkgdesc='Ruby client for the Stomp messaging protocol'
+url='https://github.com/stompgem/stomp'
+arch=('any')
+license=('Apache')
+depends=('ruby')
+makedepends=('ruby-rdoc')
+options=('!emptydirs')
+source=("https://rubygems.org/downloads/${_gemname}-${pkgver}.gem")
+noextract=("${_gemname}-${pkgver}.gem")
+sha512sums=('6e5c0727d4b3853f90f8ec4450162b38f571dcd63b58a4d09c284f42f5b9ee884ee8a3b8d27c8d85f8a297337e0d6ed61538bafee840cfc26e15b15039e1e4c9')
+
+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