[arch-commits] Commit in ruby-gio2/repos/community-x86_64 (PKGBUILD PKGBUILD)

Tim Meusel bastelfreak at gemini.archlinux.org
Sun Jan 2 21:52:53 UTC 2022


    Date: Sunday, January 2, 2022 @ 21:52:53
  Author: bastelfreak
Revision: 1092120

archrelease: copy trunk to community-x86_64

Added:
  ruby-gio2/repos/community-x86_64/PKGBUILD
    (from rev 1092119, ruby-gio2/trunk/PKGBUILD)
Deleted:
  ruby-gio2/repos/community-x86_64/PKGBUILD

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-01-02 21:48:39 UTC (rev 1092119)
+++ PKGBUILD	2022-01-02 21:52:53 UTC (rev 1092120)
@@ -1,22 +0,0 @@
-# Maintainer: Anatol Pomozov <anatol.pomozov at gmail.com>
-
-_gemname=gio2
-pkgname=ruby-$_gemname
-pkgver=3.4.5
-pkgrel=1
-pkgdesc='Ruby/GIO2 is a Ruby binding of gio-2.x.'
-arch=(x86_64)
-url='http://ruby-gnome2.sourceforge.jp/'
-license=(LGPL2.1)
-depends=(ruby ruby-glib2=$pkgver ruby-gobject-introspection=$pkgver)
-makedepends=(gobject-introspection ruby-native-package-installer)
-options=(!emptydirs)
-source=(https://rubygems.org/downloads/$_gemname-$pkgver.gem)
-noextract=($_gemname-$pkgver.gem)
-sha1sums=('2578416c88ddf1d3ad41531c9cf015e3e192d9fd')
-
-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-gio2/repos/community-x86_64/PKGBUILD (from rev 1092119, ruby-gio2/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-01-02 21:52:53 UTC (rev 1092120)
@@ -0,0 +1,28 @@
+# Maintainer: Anatol Pomozov <anatol.pomozov at gmail.com>
+# Contributor: Andreas 'Segaja' Schleifer <segaja at archlinux dot org>
+
+_gemname=gio2
+pkgname=ruby-$_gemname
+pkgver=3.4.5
+pkgrel=2
+pkgdesc='Ruby/GIO2 is a Ruby binding of gio-2.x.'
+arch=(x86_64)
+url='http://ruby-gnome2.sourceforge.jp/'
+license=(LGPL2.1)
+depends=(ruby ruby-glib2=$pkgver ruby-gobject-introspection=$pkgver)
+makedepends=(gobject-introspection ruby-native-package-installer)
+options=(!emptydirs)
+source=(https://rubygems.org/downloads/$_gemname-$pkgver.gem)
+noextract=($_gemname-$pkgver.gem)
+sha1sums=('2578416c88ddf1d3ad41531c9cf015e3e192d9fd')
+
+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/gio2/*.o \
+      "${pkgdir}/${_gemdir}/extensions/${_platform}/${_extension_api_version}/${_gemname}-${pkgver}/gem_make.out" \
+      "${pkgdir}/${_gemdir}/gems/${_gemname}-${pkgver}/ext/gio2/Makefile"
+}



More information about the arch-commits mailing list