[arch-commits] Commit in ruby-public_suffix/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Wed Sep 2 11:18:40 UTC 2020
Date: Wednesday, September 2, 2020 @ 11:18:40
Author: felixonmars
Revision: 696314
archrelease: copy trunk to community-any
Added:
ruby-public_suffix/repos/community-any/PKGBUILD
(from rev 696313, 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-09-02 11:18:24 UTC (rev 696313)
+++ PKGBUILD 2020-09-02 11:18:40 UTC (rev 696314)
@@ -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.5
-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/v$pkgver.tar.gz)
-sha512sums=('ba2a781a9f83e9923158a4b539564e33cd9afeb5890f18d696a7de77fff76d7caeadb72954711dce3a46830ac16158796f43c3f3cc90a08d00320dae931de14f')
-
-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 696313, ruby-public_suffix/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-09-02 11:18:40 UTC (rev 696314)
@@ -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.6
+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/v$pkgver.tar.gz)
+sha512sums=('80140eefc46ad04609a7bf440d30d404339f6140d068746b125877be7ceda3e3bb3c553e3ccb1ab163a3f4f8a184d4eeb620e63e2e9798d27bb810b58b4e3f54')
+
+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