[arch-commits] Commit in ruby-mime-types-data/repos (2 files)

Anatol Pomozov anatolik at archlinux.org
Mon Oct 5 17:30:32 UTC 2020


    Date: Monday, October 5, 2020 @ 17:30:31
  Author: anatolik
Revision: 718773

archrelease: copy trunk to community-testing-any

Added:
  ruby-mime-types-data/repos/community-testing-any/
  ruby-mime-types-data/repos/community-testing-any/PKGBUILD
    (from rev 718772, ruby-mime-types-data/trunk/PKGBUILD)

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

Copied: ruby-mime-types-data/repos/community-testing-any/PKGBUILD (from rev 718772, ruby-mime-types-data/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD	                        (rev 0)
+++ community-testing-any/PKGBUILD	2020-10-05 17:30:31 UTC (rev 718773)
@@ -0,0 +1,22 @@
+# Maintainer: Anatol Pomozov <anatol.pomozov at gmail.com>
+
+_gemname=mime-types-data
+pkgname=ruby-$_gemname
+pkgver=3.2020.0512
+pkgrel=1
+pkgdesc='provides a registry for information about MIME media type definitions'
+arch=(any)
+url='https://github.com/mime-types/mime-types-data/'
+license=(MIT)
+depends=(ruby)
+makedepends=('ruby-rdoc')
+options=(!emptydirs)
+source=(https://rubygems.org/downloads/$_gemname-$pkgver.gem)
+noextract=($_gemname-$pkgver.gem)
+sha1sums=('b88617eb20be7bf97ca26ff37480ea402a89fa3c')
+
+package() {
+  local _gemdir="$(ruby -e'puts Gem.default_dir')"
+  gem install --ignore-dependencies --no-user-install -i "$pkgdir/$_gemdir" -n "$pkgdir/usr/bin" $_gemname-$pkgver.gem
+  rm "$pkgdir/$_gemdir/cache/$_gemname-$pkgver.gem"
+}


More information about the arch-commits mailing list