[arch-commits] Commit in ruby-public-suffix/repos (2 files)

Felix Yan felixonmars at archlinux.org
Sat Mar 4 14:17:05 UTC 2017


    Date: Saturday, March 4, 2017 @ 14:17:04
  Author: felixonmars
Revision: 214880

archrelease: copy trunk to community-any

Added:
  ruby-public-suffix/repos/community-any/
  ruby-public-suffix/repos/community-any/PKGBUILD
    (from rev 214879, ruby-public-suffix/trunk/PKGBUILD)

----------+
 PKGBUILD |   23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

Copied: ruby-public-suffix/repos/community-any/PKGBUILD (from rev 214879, ruby-public-suffix/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2017-03-04 14:17:04 UTC (rev 214880)
@@ -0,0 +1,23 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: farawayer <farwayer at gmail.com>
+
+pkgname=ruby-public-suffix
+pkgver=2.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')
+options=('!emptydirs')
+source=("https://rubygems.org/downloads/public_suffix-$pkgver.gem")
+noextract=("public_suffix-$pkgver.gem")
+sha1sums=('c241227a2f49942d07fceb4bc20a03d762f7e666')
+
+package() {
+  local _gemdir="$(ruby -e'puts Gem.default_dir')"
+  gem install --ignore-dependencies --no-user-install -i "$pkgdir/$_gemdir" -n "$pkgdir/usr/bin" public_suffix-$pkgver.gem
+  rm "$pkgdir/$_gemdir/cache/public_suffix-$pkgver.gem"
+  install -D -m644 "$pkgdir/$_gemdir/gems/public_suffix-$pkgver/LICENSE.txt" "$pkgdir/usr/share/licenses/$pkgname/LICENSE.txt"
+}


More information about the arch-commits mailing list