[arch-commits] Commit in ruby-atk/repos (2 files)

Evangelos Foutras foutrelis at archlinux.org
Thu Dec 27 05:06:44 UTC 2018


    Date: Thursday, December 27, 2018 @ 05:06:43
  Author: foutrelis
Revision: 418310

archrelease: copy trunk to community-staging-x86_64

Added:
  ruby-atk/repos/community-staging-x86_64/
  ruby-atk/repos/community-staging-x86_64/PKGBUILD
    (from rev 418309, ruby-atk/trunk/PKGBUILD)

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

Copied: ruby-atk/repos/community-staging-x86_64/PKGBUILD (from rev 418309, ruby-atk/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2018-12-27 05:06:43 UTC (rev 418310)
@@ -0,0 +1,23 @@
+# Generated by gem2arch (https://github.com/anatol/gem2arch)
+# Maintainer: Anatol Pomozov <anatol.pomozov at gmail.com>
+
+_gemname=atk
+pkgname=ruby-$_gemname
+pkgver=3.3.0
+pkgrel=2
+pkgdesc='Ruby/ATK is a Ruby binding of ATK-1.0.x.'
+arch=(x86_64)
+url='http://ruby-gnome2.sourceforge.jp/'
+license=(LGPL2.1)
+depends=(ruby atk ruby-glib2=$pkgver)
+makedepends=(ruby-native-package-installer ruby-rake)
+options=(!emptydirs)
+source=(https://rubygems.org/downloads/$_gemname-$pkgver.gem)
+noextract=($_gemname-$pkgver.gem)
+sha1sums=('d2cdbd81a7eacd8f4c7eb87fe6107167a77a022c')
+
+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"
+}



More information about the arch-commits mailing list