[arch-commits] Commit in ruby-glib2/repos (4 files)

Anatol Pomozov anatolik at archlinux.org
Fri Apr 3 19:03:09 UTC 2015


    Date: Friday, April 3, 2015 @ 21:03:08
  Author: anatolik
Revision: 130583

archrelease: copy trunk to community-i686, community-x86_64

Added:
  ruby-glib2/repos/community-i686/
  ruby-glib2/repos/community-i686/PKGBUILD
    (from rev 130582, ruby-glib2/trunk/PKGBUILD)
  ruby-glib2/repos/community-x86_64/
  ruby-glib2/repos/community-x86_64/PKGBUILD
    (from rev 130582, ruby-glib2/trunk/PKGBUILD)

---------------------------+
 community-i686/PKGBUILD   |   23 +++++++++++++++++++++++
 community-x86_64/PKGBUILD |   23 +++++++++++++++++++++++
 2 files changed, 46 insertions(+)

Copied: ruby-glib2/repos/community-i686/PKGBUILD (from rev 130582, ruby-glib2/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2015-04-03 19:03:08 UTC (rev 130583)
@@ -0,0 +1,23 @@
+# Generated by gem2arch (https://github.com/anatol/gem2arch)
+# Maintainer: Anatol Pomozov <anatol.pomozov at gmail.com>
+
+_gemname=glib2
+pkgname=ruby-$_gemname
+pkgver=2.2.4
+pkgrel=3
+pkgdesc='Ruby/GLib2 is a Ruby binding of GLib-2.x.'
+arch=(i686 x86_64)
+url='http://ruby-gnome2.sourceforge.jp/'
+license=(LGPL2.1)
+depends=(ruby glib2)
+makedepends=(ruby-pkgconfig)
+options=(!emptydirs)
+source=(https://rubygems.org/downloads/$_gemname-$pkgver.gem)
+noextract=($_gemname-$pkgver.gem)
+sha1sums=('2387c5a151a7bb324de604234960cf4a6e2aa232')
+
+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"
+}

Copied: ruby-glib2/repos/community-x86_64/PKGBUILD (from rev 130582, ruby-glib2/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2015-04-03 19:03:08 UTC (rev 130583)
@@ -0,0 +1,23 @@
+# Generated by gem2arch (https://github.com/anatol/gem2arch)
+# Maintainer: Anatol Pomozov <anatol.pomozov at gmail.com>
+
+_gemname=glib2
+pkgname=ruby-$_gemname
+pkgver=2.2.4
+pkgrel=3
+pkgdesc='Ruby/GLib2 is a Ruby binding of GLib-2.x.'
+arch=(i686 x86_64)
+url='http://ruby-gnome2.sourceforge.jp/'
+license=(LGPL2.1)
+depends=(ruby glib2)
+makedepends=(ruby-pkgconfig)
+options=(!emptydirs)
+source=(https://rubygems.org/downloads/$_gemname-$pkgver.gem)
+noextract=($_gemname-$pkgver.gem)
+sha1sums=('2387c5a151a7bb324de604234960cf4a6e2aa232')
+
+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