[arch-commits] Commit in ruby-gio2/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Thu Dec 26 00:50:06 UTC 2019
Date: Thursday, December 26, 2019 @ 00:50:04
Author: felixonmars
Revision: 541701
archrelease: copy trunk to community-staging-x86_64
Added:
ruby-gio2/repos/community-staging-x86_64/
ruby-gio2/repos/community-staging-x86_64/PKGBUILD
(from rev 541700, ruby-gio2/trunk/PKGBUILD)
----------+
PKGBUILD | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
Copied: ruby-gio2/repos/community-staging-x86_64/PKGBUILD (from rev 541700, ruby-gio2/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2019-12-26 00:50:04 UTC (rev 541701)
@@ -0,0 +1,22 @@
+# Maintainer: Anatol Pomozov <anatol.pomozov at gmail.com>
+
+_gemname=gio2
+pkgname=ruby-$_gemname
+pkgver=3.4.1
+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=('456f06c16b2a08d42b3ce255ca8df6db394b2b8d')
+
+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