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

Anatol Pomozov anatolik at archlinux.org
Tue Feb 5 05:41:05 UTC 2019


    Date: Tuesday, February 5, 2019 @ 05:41:05
  Author: anatolik
Revision: 429619

archrelease: copy trunk to community-x86_64

Added:
  ruby-gdk3/repos/community-x86_64/
  ruby-gdk3/repos/community-x86_64/PKGBUILD
    (from rev 429618, ruby-gdk3/trunk/PKGBUILD)

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

Copied: ruby-gdk3/repos/community-x86_64/PKGBUILD (from rev 429618, ruby-gdk3/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2019-02-05 05:41:05 UTC (rev 429619)
@@ -0,0 +1,22 @@
+# Maintainer: Anatol Pomozov <anatol.pomozov at gmail.com>
+
+_gemname=gdk3
+pkgname=ruby-$_gemname
+pkgver=3.3.2
+pkgrel=1
+pkgdesc='Ruby/GDK3 is a Ruby binding of GDK-3.x.'
+arch=(x86_64)
+url='http://ruby-gnome2.sourceforge.jp/'
+license=(LGPL2.1)
+depends=(ruby gtk3 ruby-cairo-gobject=$pkgver ruby-gdk_pixbuf2=$pkgver ruby-pango=$pkgver)
+makedepends=(ruby-native-package-installer rake)
+options=(!emptydirs)
+source=(https://rubygems.org/downloads/$_gemname-$pkgver.gem)
+noextract=($_gemname-$pkgver.gem)
+sha1sums=('f91cf18c18e90f1629a6da5a8f1b7a8dd3ac7dae')
+
+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