[arch-commits] Commit in ruby-public_suffix/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Sun Feb 16 20:39:57 UTC 2020
Date: Sunday, February 16, 2020 @ 20:39:57
Author: felixonmars
Revision: 572843
archrelease: copy trunk to community-any
Added:
ruby-public_suffix/repos/community-any/PKGBUILD
(from rev 572842, ruby-public_suffix/trunk/PKGBUILD)
Deleted:
ruby-public_suffix/repos/community-any/PKGBUILD
----------+
PKGBUILD | 80 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 40 insertions(+), 40 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-02-16 20:39:39 UTC (rev 572842)
+++ PKGBUILD 2020-02-16 20:39:57 UTC (rev 572843)
@@ -1,40 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-# Contributor: farawayer <farwayer at gmail.com>
-
-_gemname=public_suffix
-pkgname=ruby-public_suffix
-pkgver=4.0.2
-pkgrel=1
-pkgdesc='Domain name parser based on the Public Suffix List'
-arch=('any')
-url='https://simonecarletti.com/code/publicsuffix-ruby'
-license=('MIT')
-depends=('ruby')
-makedepends=('ruby-rdoc')
-options=('!emptydirs')
-source=(${pkgname}-${pkgver}.tar.gz::https://github.com/weppos/publicsuffix-ruby/archive/${pkgver}.tar.gz)
-sha512sums=('a27aba8efb0bfe47ea8c37c9c0e89fea67e8b52dc95c966105d220299dc6215865274a17c856cccff1ffdb7c2e46a4b87a9e8095974f7e86dda6a4010dde7b08')
-
-prepare() {
- cd publicsuffix-ruby-${pkgver}
- sed -r 's|~>|>=|g' -i ${_gemname}.gemspec # don't give a fuck about rubys bla bla
- sed 's|git ls-files -- {test,spec,features}/*|find -type f test spec features|' -i ${_gemname}.gemspec
- sed 's|git ls-files|find -type f|' -i ${_gemname}.gemspec
-}
-
-build() {
- cd publicsuffix-ruby-${pkgver}
- gem build ${_gemname}.gemspec
-}
-
-package() {
- cd publicsuffix-ruby-${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 CHANGELOG.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:
Copied: ruby-public_suffix/repos/community-any/PKGBUILD (from rev 572842, ruby-public_suffix/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-02-16 20:39:57 UTC (rev 572843)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: farawayer <farwayer at gmail.com>
+
+_gemname=public_suffix
+pkgname=ruby-public_suffix
+pkgver=4.0.3
+pkgrel=1
+pkgdesc='Domain name parser based on the Public Suffix List'
+arch=('any')
+url='https://simonecarletti.com/code/publicsuffix-ruby'
+license=('MIT')
+depends=('ruby')
+makedepends=('ruby-rdoc')
+options=('!emptydirs')
+source=(${pkgname}-${pkgver}.tar.gz::https://github.com/weppos/publicsuffix-ruby/archive/${pkgver}.tar.gz)
+sha512sums=('50ad393ae1dd5208964cdecc8123d95e73b33a928b3c6086dd38ddeabad9abd01ad6640e82303ed611aef35f28edcc3c6dcf756845218519a720141c096ad148')
+
+prepare() {
+ cd publicsuffix-ruby-${pkgver}
+ sed -r 's|~>|>=|g' -i ${_gemname}.gemspec # don't give a fuck about rubys bla bla
+ sed 's|git ls-files -- {test,spec,features}/*|find -type f test spec features|' -i ${_gemname}.gemspec
+ sed 's|git ls-files|find -type f|' -i ${_gemname}.gemspec
+}
+
+build() {
+ cd publicsuffix-ruby-${pkgver}
+ gem build ${_gemname}.gemspec
+}
+
+package() {
+ cd publicsuffix-ruby-${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 CHANGELOG.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