[arch-commits] Commit in ruby-daemons/repos/community-any (PKGBUILD PKGBUILD)

Levente Polyak anthraxx at archlinux.org
Sun Nov 5 22:34:22 UTC 2017


    Date: Sunday, November 5, 2017 @ 22:34:21
  Author: anthraxx
Revision: 265487

archrelease: copy trunk to community-any

Added:
  ruby-daemons/repos/community-any/PKGBUILD
    (from rev 265486, ruby-daemons/trunk/PKGBUILD)
Deleted:
  ruby-daemons/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   78 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 39 insertions(+), 39 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2017-11-05 22:34:10 UTC (rev 265486)
+++ PKGBUILD	2017-11-05 22:34:21 UTC (rev 265487)
@@ -1,39 +0,0 @@
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-
-_gemname=daemons
-pkgname=ruby-${_gemname}
-pkgver=1.2.4
-pkgrel=1
-pkgdesc='Easy way to wrap existing ruby scripts to be run as a daemon'
-url='https://github.com/thuehlinger/daemons'
-arch=('any')
-license=('MIT')
-depends=('ruby')
-options=('!emptydirs')
-source=(${pkgname}-${pkgver}.tar.gz::https://github.com/thuehlinger/daemons/archive/v${pkgver}.tar.gz)
-sha256sums=('34e28ad4f5b8fa402f7f2783949024da09575dcde6b8110242ca2048ad932608')
-sha512sums=('9b6f0202ad87704b441f150ae5c3f5086861ba220069b6e7219714b62c36711889fdd094cfc1de907e9fb4528e5f6bb42b5421b9bcc4ec286648349e78da280f')
-
-prepare() {
-  cd ${_gemname}-${pkgver}
-  sed -r 's|~>|>=|g' -i ${_gemname}.gemspec # don't give a fuck about rubys bla bla
-  sed 's|README.md LICENSE Releases ||' -i ${_gemname}.gemspec
-  sed -r 's|`git ls-files (.+)`|`find \1 -type f`|' -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 Releases -t "${pkgdir}/usr/share/doc/${pkgname}"
-  cp -a examples "${pkgdir}/usr/share/doc/${pkgname}"
-  install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
-  rm "${pkgdir}/${_gemdir}/cache/${_gemname}-${pkgver}.gem"
-}
-
-# vim: ts=2 sw=2 et:

Copied: ruby-daemons/repos/community-any/PKGBUILD (from rev 265486, ruby-daemons/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2017-11-05 22:34:21 UTC (rev 265487)
@@ -0,0 +1,39 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+
+_gemname=daemons
+pkgname=ruby-${_gemname}
+pkgver=1.2.5
+pkgrel=1
+pkgdesc='Easy way to wrap existing ruby scripts to be run as a daemon'
+url='https://github.com/thuehlinger/daemons'
+arch=('any')
+license=('MIT')
+depends=('ruby')
+options=('!emptydirs')
+source=(${pkgname}-${pkgver}.tar.gz::https://github.com/thuehlinger/daemons/archive/v${pkgver}.tar.gz)
+sha256sums=('7ebf1fe54b24c45d168e3b897547b29fda5f84b0fc723f74abeaf81d852a5dfa')
+sha512sums=('5d3db8e5917eff5a3946c385a1ac6f561d1e9d1d6cd87c0deb4c4777bdab33a5e4f889300ee61a2e68df0200d51b3ddd0aa01d9f2841104d01a866f3ee8c09ac')
+
+prepare() {
+  cd ${_gemname}-${pkgver}
+  sed -r 's|~>|>=|g' -i ${_gemname}.gemspec # don't give a fuck about rubys bla bla
+  sed 's|README.md LICENSE Releases ||' -i ${_gemname}.gemspec
+  sed -r 's|`git ls-files (.+)`|`find \1 -type f`|' -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 Releases -t "${pkgdir}/usr/share/doc/${pkgname}"
+  cp -a examples "${pkgdir}/usr/share/doc/${pkgname}"
+  install -Dm 644 LICENSE -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