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

Evangelos Foutras foutrelis at archlinux.org
Wed Jan 3 08:20:32 UTC 2018


    Date: Wednesday, January 3, 2018 @ 08:20:30
  Author: foutrelis
Revision: 278089

archrelease: copy trunk to community-staging-any

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

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

Copied: ruby-celluloid-dns/repos/community-staging-any/PKGBUILD (from rev 278088, ruby-celluloid-dns/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2018-01-03 08:20:30 UTC (rev 278089)
@@ -0,0 +1,34 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+
+_gemname=celluloid-dns
+pkgname=ruby-${_gemname}
+pkgver=0.17.3
+pkgrel=4
+pkgdesc='Simple finite state machines with integrated Celluloid timeout support'
+url='https://github.com/celluloid/celluloid-dns'
+arch=('any')
+license=('MIT')
+depends=('ruby' 'ruby-timers' 'ruby-celluloid' 'ruby-celluloid-io' 'ruby-rspec-core')
+options=('!emptydirs')
+source=(${pkgname}-${pkgver}.tar.gz::https://github.com/celluloid/celluloid-dns/archive/v${pkgver}.tar.gz)
+sha512sums=('5aa436db250a2f3fe77c4d0afa1693bcfdf708d43e08e77e03896e9f7c40364ceea41c77fb1c10e40c019a1c10a15308b26e48c3588e6095fe01c7f8a1db3e12')
+
+prepare() {
+  cd ${_gemname}-${pkgver}
+  sed 's|git ls-files|find|' -i ${_gemname}.gemspec
+}
+
+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 -t "${pkgdir}/usr/share/doc/${pkgname}"
+  rm "${pkgdir}/${_gemdir}/cache/${_gemname}-${pkgver}.gem"
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list