Date: Monday, January 8, 2018 @ 13:13:42
  Author: foxxx0
Revision: 280512

add initial PKGBUILD

Added:
  ruby-stomp/
  ruby-stomp/repos/
  ruby-stomp/trunk/
  ruby-stomp/trunk/PKGBUILD

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

Added: ruby-stomp/trunk/PKGBUILD
===================================================================
--- ruby-stomp/trunk/PKGBUILD                           (rev 0)
+++ ruby-stomp/trunk/PKGBUILD   2018-01-08 13:13:42 UTC (rev 280512)
@@ -0,0 +1,25 @@
+# Maintainer: Thore Bödecker <fox...@archlinux.org>
+
+_gemname=stomp
+pkgname=ruby-${_gemname}
+pkgver=1.4.4
+pkgrel=2
+pkgdesc='Ruby client for the Stomp messaging protocol'
+url='https://github.com/stompgem/stomp'
+arch=('any')
+license=('Apache')
+depends=('ruby')
+options=('!emptydirs')
+source=(https://rubygems.org/downloads/${_gemname}-${pkgver}.gem)
+noextract=(${_gemname}-${pkgver}.gem)
+sha512sums=('77c5a53b56177869beb9ff236405479d1fe48ba6841f42eefbd104a5e1b8f82584283c909bb2f6ec5a34ae99c0dfa91079d0716d1bef65db24c5b1414c1ed673')
+
+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
+  # install -Dm 644 
"${pkgdir}${_gemdir}/gems/${_gemname}-${pkgver}/LICENSE.md" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+  # install -Dm 644 "${pkgdir}${_gemdir}/gems/${_gemname}-${pkgver}/README.md" 
"${pkgdir}/usr/share/doc/${pkgname}/README"
+  rm "${pkgdir}/${_gemdir}/cache/${_gemname}-${pkgver}.gem"
+}
+
+# vim: ts=2 sw=2 et:


Property changes on: ruby-stomp/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property

Reply via email to