[arch-commits] Commit in (4 files)

Anatol Pomozov anatolik at archlinux.org
Thu Mar 21 21:02:23 UTC 2019


    Date: Thursday, March 21, 2019 @ 21:02:23
  Author: anatolik
Revision: 443090

ruby-gtk3: add package

Added:
  ruby-gtk3/
  ruby-gtk3/repos/
  ruby-gtk3/trunk/
  ruby-gtk3/trunk/PKGBUILD

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

Added: ruby-gtk3/trunk/PKGBUILD
===================================================================
--- ruby-gtk3/trunk/PKGBUILD	                        (rev 0)
+++ ruby-gtk3/trunk/PKGBUILD	2019-03-21 21:02:23 UTC (rev 443090)
@@ -0,0 +1,23 @@
+# Maintainer: Anatol Pomozov
+
+_gemname=gtk3
+pkgname=ruby-$_gemname
+pkgver=3.3.6
+pkgrel=1
+pkgdesc="Ruby/GTK3 is a Ruby binding of GTK+-3.x."
+arch=(i686 x86_64)
+url=https://ruby-gnome2.osdn.jp/
+license=("LGPL-2.1+")
+depends=(gobject-introspection gtk3 ruby ruby-atk ruby-cairo ruby-gdk3 ruby-gdk_pixbuf2 ruby-gio2 ruby-gobject-introspection ruby-pango)
+makedepends=(ruby-native-package-installer ruby-glib2)
+options=(!emptydirs)
+source=(https://rubygems.org/downloads/$_gemname-$pkgver.gem)
+noextract=($_gemname-$pkgver.gem)
+sha1sums=('ccf5df5774749a4daf4e0a54002033093194878f')
+
+package() {
+  local _gemdir="$(ruby -e'puts Gem.default_dir')"
+  gem install --ignore-dependencies --no-document --no-user-install -i "$pkgdir/$_gemdir" -n "$pkgdir"/usr/bin $_gemname-$pkgver.gem 
+  rm "$pkgdir/$_gemdir/cache/$_gemname-$pkgver.gem"
+  install -D -m644 "$pkgdir/$_gemdir/gems/$_gemname-$pkgver/COPYING.LIB" "$pkgdir/usr/share/licenses/$pkgname/COPYING.LIB"
+}


Property changes on: ruby-gtk3/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property


More information about the arch-commits mailing list