Date: Thursday, December 26, 2019 @ 00:48:21
  Author: felixonmars
Revision: 541694

archrelease: copy trunk to community-staging-x86_64

Added:
  ruby-gobject-introspection/repos/community-staging-x86_64/
  ruby-gobject-introspection/repos/community-staging-x86_64/PKGBUILD
    (from rev 541692, ruby-gobject-introspection/trunk/PKGBUILD)

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

Copied: ruby-gobject-introspection/repos/community-staging-x86_64/PKGBUILD 
(from rev 541692, ruby-gobject-introspection/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD                           (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-12-26 00:48:21 UTC (rev 541694)
@@ -0,0 +1,22 @@
+# Maintainer: Anatol Pomozov <anatol.pomo...@gmail.com>
+
+_gemname=gobject-introspection
+pkgname=ruby-$_gemname
+pkgver=3.4.1
+pkgrel=2
+pkgdesc='Ruby/GObjectIntrospection is a Ruby binding of GObjectIntrospection.'
+arch=(x86_64)
+url='http://ruby-gnome2.sourceforge.jp/'
+license=(LGPL2.1)
+depends=(ruby gobject-introspection-runtime ruby-glib2=$pkgver)
+makedepends=(gobject-introspection ruby-native-package-installer)
+options=(!emptydirs)
+source=(https://rubygems.org/downloads/$_gemname-$pkgver.gem)
+noextract=($_gemname-$pkgver.gem)
+sha1sums=('ca5549ebc08f7b4a3c4b1122e80dd28c3cc81c6b')
+
+package() {
+  local _gemdir="$(ruby -e'puts Gem.default_dir')"
+  gem install --ignore-dependencies --no-user-install --no-document -i 
"$pkgdir/$_gemdir" -n "$pkgdir/usr/bin" $_gemname-$pkgver.gem
+  rm "$pkgdir/$_gemdir/cache/$_gemname-$pkgver.gem"
+}

Reply via email to