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

Levente Polyak anthraxx at archlinux.org
Sun Nov 17 14:29:06 UTC 2019


    Date: Sunday, November 17, 2019 @ 14:29:06
  Author: anthraxx
Revision: 530023

archrelease: copy trunk to community-any

Added:
  ruby-async-dns/repos/community-any/PKGBUILD
    (from rev 530022, ruby-async-dns/trunk/PKGBUILD)
Deleted:
  ruby-async-dns/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   81 ++++++++++++++++++++++++++++++++-----------------------------
 1 file changed, 43 insertions(+), 38 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-11-17 14:29:00 UTC (rev 530022)
+++ PKGBUILD	2019-11-17 14:29:06 UTC (rev 530023)
@@ -1,38 +0,0 @@
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-
-_gemname=async-dns
-pkgname=ruby-${_gemname}
-pkgver=1.2.0
-pkgrel=2
-pkgdesc='Asynchronous DNS resolver and server'
-url='https://github.com/socketry/async-dns'
-arch=('any')
-license=('MIT')
-depends=('ruby' 'ruby-async-io')
-options=('!emptydirs')
-source=(${pkgname}-${pkgver}.tar.gz::https://github.com/socketry/async-dns/archive/v${pkgver}.tar.gz)
-sha256sums=('5ee925507de7d02a3330532004873d80945128ae9af51c89376664a251c29aa2')
-sha512sums=('a94de011d47e665049b940941d1c55d89002870d691055906915e13a7047563f174e86d0e9e656cb7db077f9ff261d7bb55f2b028798561ebeae1a4884835c4c')
-
-prepare() {
-  cd ${_gemname}-${pkgver}
-  sed 's|git ls-files|find|' -i ${_gemname}.gemspec
-  sed 's|~>|>=|g' -i ${_gemname}.gemspec # don't give a fuck about rubys bla bla
-}
-
-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}"
-  install -d "${pkgdir}/usr/share/licenses/${pkgname}"
-  ln -s /usr/share/doc/${pkgname}/README.md "${pkgdir}/usr/share/licenses/${pkgname}"
-  rm "${pkgdir}"/${_gemdir}/cache/${_gemname}-${pkgver}.gem
-}
-
-# vim: ts=2 sw=2 et:

Copied: ruby-async-dns/repos/community-any/PKGBUILD (from rev 530022, ruby-async-dns/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-11-17 14:29:06 UTC (rev 530023)
@@ -0,0 +1,43 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+
+_gemname=async-dns
+pkgname=ruby-${_gemname}
+pkgver=1.2.4
+pkgrel=1
+pkgdesc='Asynchronous DNS resolver and server'
+url='https://github.com/socketry/async-dns'
+arch=('any')
+license=('MIT')
+depends=('ruby' 'ruby-async-io')
+options=('!emptydirs')
+source=(https://github.com/socketry/async-dns/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz)
+sha256sums=('f288e22aadee0488829cceacc9badaab1aaca07623a54aaf9a0c95aff61997ef')
+sha512sums=('c2fc6cf2367c63bb72fb9c9934d261cf793043678d1f6ad9f6a327934e39645cfb7ab4f8dd98ab6739627fa63c58f573538edefd18186a7dbc87f89336354628')
+
+prepare() {
+  cd ${_gemname}-${pkgver}
+  sed 's|git ls-files|find|' -i ${_gemname}.gemspec
+  sed 's|~>|>=|g' -i ${_gemname}.gemspec # don't give a fuck about rubys bla bla
+}
+
+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}"
+  install -d "${pkgdir}/usr/share/licenses/${pkgname}"
+  ln -s /usr/share/doc/${pkgname}/README.md "${pkgdir}/usr/share/licenses/${pkgname}"
+
+  cd "${pkgdir}/${_gemdir}"
+  rm -rf cache gems/${_gemname}-${pkgver}/{ext,lib/*/*.so} \
+    extensions/*/*/${_gemname}-${pkgver}/{mkmf.log,gem_make.out}
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list