[arch-commits] Commit in ruby-domain_name/repos/community-any (PKGBUILD PKGBUILD)
Tim Meusel
bastelfreak at archlinux.org
Sun May 16 16:38:20 UTC 2021
Date: Sunday, May 16, 2021 @ 16:38:19
Author: bastelfreak
Revision: 935911
archrelease: copy trunk to community-any
Added:
ruby-domain_name/repos/community-any/PKGBUILD
(from rev 935910, ruby-domain_name/trunk/PKGBUILD)
Deleted:
ruby-domain_name/repos/community-any/PKGBUILD
----------+
PKGBUILD | 101 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 51 insertions(+), 50 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-05-16 16:37:58 UTC (rev 935910)
+++ PKGBUILD 2021-05-16 16:38:19 UTC (rev 935911)
@@ -1,50 +0,0 @@
-# Maintainer: Christian Rebischke <chris.rebischke at archlinux.org>
-# Contributor: Mario Finelli <mario at finel dot li>
-# Contributor: Tim Meusel <tim at bastelfreak.de>
-
-_gemname='domain_name'
-pkgname="ruby-${_gemname}"
-pkgver=0.5.20190701
-pkgrel=3
-pkgdesc='Domain Name manipulation library for Ruby'
-arch=('any')
-url='https://github.com/knu/ruby-domain_name'
-license=('BSD' 'MPL2')
-makedepends=('ruby-rdoc' 'ruby-bundler')
-checkdepends=('ruby-rake' 'ruby-minitest' 'ruby-test-unit')
-depends=('ruby' 'ruby-unf')
-options=(!emptydirs)
-source=("${url}/archive/v${pkgver}/${pkgname}-v${pkgver}.tar.gz")
-sha512sums=('d2aaa3236177cd196fde6e48acfde4c9858c7c7acd25a5e7fbdf8f30e2f71ca144ba1036e3820e2a8870877d259c96b948650464171a69208cbc947d9fa663f3')
-
-prepare() {
- cd "${srcdir}/${pkgname}-${pkgver}"
-
- # allow latest dependencies
- sed --in-place 's|~>|>=|g' "${_gemname}.gemspec"
-
- # we built with a tar ball, so `git` won't wwork
- sed --in-place 's|git ls-files|find|' "${_gemname}.gemspec"
-}
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- gem build "${_gemname}.gemspec"
-}
-
-check() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- rake test
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- local _gemdir="$(gem env gemdir)"
- gem install --verbose --ignore-dependencies --no-user-install --install-dir "${pkgdir}/${_gemdir}" --bindir "${pkgdir}/usr/bin" "${_gemname}-${pkgver}.gem"
-
- install -Dm 644 LICENSE.txt -t "${pkgdir}/usr/share/licenses/${pkgname}/"
-
- rm -rf "${pkgdir}/${_gemdir}/cache"
-}
-
-# vim: ts=2 sw=2 et:
Copied: ruby-domain_name/repos/community-any/PKGBUILD (from rev 935910, ruby-domain_name/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-05-16 16:38:19 UTC (rev 935911)
@@ -0,0 +1,51 @@
+# Maintainer: Tim Meusel <tim at bastelfreak.de>
+# Contributor: Christian Rebischke <chris.rebischke at archlinux.org>
+# Contributor: Mario Finelli <mario at finel dot li>
+# Contributor: Tim Meusel <tim at bastelfreak.de>
+
+_gemname='domain_name'
+pkgname="ruby-${_gemname}"
+pkgver=0.5.20190701
+pkgrel=4
+pkgdesc='Domain Name manipulation library for Ruby'
+arch=('any')
+url='https://github.com/knu/ruby-domain_name'
+license=('BSD' 'MPL2')
+makedepends=('ruby-rdoc' 'ruby-bundler')
+checkdepends=('ruby-rake' 'ruby-minitest' 'ruby-test-unit')
+depends=('ruby' 'ruby-unf')
+options=(!emptydirs)
+source=("${url}/archive/v${pkgver}/${pkgname}-v${pkgver}.tar.gz")
+sha512sums=('d2aaa3236177cd196fde6e48acfde4c9858c7c7acd25a5e7fbdf8f30e2f71ca144ba1036e3820e2a8870877d259c96b948650464171a69208cbc947d9fa663f3')
+
+prepare() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ # allow latest dependencies
+ sed --in-place 's|~>|>=|g' "${_gemname}.gemspec"
+
+ # we built with a tar ball, so `git` won't wwork
+ sed --in-place 's|git ls-files|find|' "${_gemname}.gemspec"
+}
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ gem build "${_gemname}.gemspec"
+}
+
+check() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ rake test
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ local _gemdir="$(gem env gemdir)"
+ gem install --verbose --ignore-dependencies --no-user-install --install-dir "${pkgdir}/${_gemdir}" --bindir "${pkgdir}/usr/bin" "${_gemname}-${pkgver}.gem"
+
+ install -Dm 644 LICENSE.txt -t "${pkgdir}/usr/share/licenses/${pkgname}/"
+
+ rm -rf "${pkgdir}/${_gemdir}/cache"
+}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list