[arch-commits] Commit in ruby-celluloid-pool/repos (2 files)

Evangelos Foutras foutrelis at archlinux.org
Tue Jan 10 00:26:05 UTC 2017


    Date: Tuesday, January 10, 2017 @ 00:26:04
  Author: foutrelis
Revision: 206296

archrelease: copy trunk to community-staging-any

Added:
  ruby-celluloid-pool/repos/community-staging-any/
  ruby-celluloid-pool/repos/community-staging-any/PKGBUILD
    (from rev 206295, ruby-celluloid-pool/trunk/PKGBUILD)

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

Copied: ruby-celluloid-pool/repos/community-staging-any/PKGBUILD (from rev 206295, ruby-celluloid-pool/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2017-01-10 00:26:04 UTC (rev 206296)
@@ -0,0 +1,40 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+
+_gemname=celluloid-pool
+pkgname=ruby-${_gemname}
+pkgver=0.20.5
+pkgrel=3
+pkgdesc='Implementation of an actor pool, based on the Celluloid concurrent object framework'
+url='https://github.com/celluloid/celluloid-pool'
+arch=('any')
+license=('MIT')
+depends=('ruby' 'ruby-timers')
+makedepends=('git')
+options=('!emptydirs')
+source=(${pkgname}-${pkgver}.tar.gz::https://github.com/celluloid/celluloid-pool/archive/v${pkgver}.tar.gz
+        culture-git::"git+https://github.com/celluloid/culture#commit=d76f772a2d669be2028d8be1c8baa95f7d3174a0")
+sha512sums=('6bded1ee7bfeaebddd49af9c5d72d078da9ebd6817cebd6124f95c0303e20ea31417930e71680e9d75bd0ce21689e7b409cd13132d8f802d51b9eced67a79ae5'
+            'SKIP')
+
+prepare() {
+  cd ${_gemname}-${pkgver}
+  sed 's|git ls-files -z|find -not -path "*culture*" -print0|' -i ${_gemname}.gemspec
+  rmdir culture
+  cp -ra "${srcdir}/culture-git" culture
+}
+
+build() {
+  cd ${_gemname}-${pkgver}
+  gem build ${_gemname}.gemspec
+}
+
+package() {
+  cd ${_gemname}-${pkgver}
+  local _gemdir="$(gem env gemdir)"
+  gem install --ignore-dependencies --no-user-install -i "${pkgdir}/${_gemdir}" -n "${pkgdir}/usr/bin" ${_gemname}-${pkgver}.gem
+  install -Dm 644 README.md CHANGES.md -t "${pkgdir}/usr/share/doc/${pkgname}"
+  install -Dm 644 LICENSE.txt -t "${pkgdir}/usr/share/licenses/${pkgname}"
+  rm "${pkgdir}/${_gemdir}/cache/${_gemname}-${pkgver}.gem"
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list