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

Felix Yan felixonmars at archlinux.org
Thu Dec 26 00:25:19 UTC 2019


    Date: Thursday, December 26, 2019 @ 00:25:17
  Author: felixonmars
Revision: 541584

archrelease: copy trunk to community-staging-any

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

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

Copied: ruby-mime-types-data/repos/community-staging-any/PKGBUILD (from rev 541583, ruby-mime-types-data/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2019-12-26 00:25:17 UTC (rev 541584)
@@ -0,0 +1,22 @@
+# Maintainer: Anatol Pomozov <anatol.pomozov at gmail.com>
+
+_gemname=mime-types-data
+pkgname=ruby-$_gemname
+pkgver=3.2018.0812
+pkgrel=2
+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=('15848c5daf220c4863d662d26886833b9f4f2800')
+
+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