[arch-commits] Commit in ruby-gobject-introspection/repos/community-x86_64 (2 files)

Jelle van der Waa jelle at gemini.archlinux.org
Mon Jan 3 19:10:09 UTC 2022


    Date: Monday, January 3, 2022 @ 19:10:08
  Author: jelle
Revision: 1092514

archrelease: copy trunk to community-x86_64

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-01-03 19:09:42 UTC (rev 1092513)
+++ PKGBUILD	2022-01-03 19:10:08 UTC (rev 1092514)
@@ -1,22 +0,0 @@
-# Maintainer: Anatol Pomozov <anatol.pomozov at gmail.com>
-
-_gemname=gobject-introspection
-pkgname=ruby-$_gemname
-pkgver=3.4.5
-pkgrel=1
-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=('234dd7a7c5249e704aa9356fe887caf2a4eb519f')
-
-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"
-}

Copied: ruby-gobject-introspection/repos/community-x86_64/PKGBUILD (from rev 1092513, ruby-gobject-introspection/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-01-03 19:10:08 UTC (rev 1092514)
@@ -0,0 +1,27 @@
+# Maintainer: Anatol Pomozov <anatol.pomozov at gmail.com>
+
+_gemname=gobject-introspection
+pkgname=ruby-$_gemname
+pkgver=3.4.5
+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=('234dd7a7c5249e704aa9356fe887caf2a4eb519f')
+
+package() {
+  local _gemdir="$(ruby -e'puts Gem.default_dir')"
+  local _platform="$(gem env platform | cut -d':' -f2)"
+  local _extension_api_version="$(ruby -e'puts Gem.extension_api_version')"
+  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" \
+      ${pkgdir}/${_gemdir}/gems/${_gemname}-${pkgver}/ext/gobject-introspection/*.o \
+      "${pkgdir}/${_gemdir}/extensions/${_platform}/${_extension_api_version}/${_gemname}-${pkgver}/gem_make.out" \
+      "${pkgdir}/${_gemdir}/gems/${_gemname}-${pkgver}/ext/gobject-introspection/Makefile"
+}



More information about the arch-commits mailing list