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

Felix Yan felixonmars at archlinux.org
Thu Dec 26 01:46:46 UTC 2019


    Date: Thursday, December 26, 2019 @ 01:46:45
  Author: felixonmars
Revision: 541807

archrelease: copy trunk to community-staging-any

Added:
  ruby-dbus/repos/community-staging-any/
  ruby-dbus/repos/community-staging-any/PKGBUILD
    (from rev 541806, ruby-dbus/trunk/PKGBUILD)

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

Copied: ruby-dbus/repos/community-staging-any/PKGBUILD (from rev 541806, ruby-dbus/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2019-12-26 01:46:45 UTC (rev 541807)
@@ -0,0 +1,24 @@
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+
+# Generated by gem2arch (https://github.com/anatol/gem2arch)
+
+_gemname=ruby-dbus
+pkgname=$_gemname
+pkgver=0.15.0
+pkgrel=3
+pkgdesc='Ruby module for interaction with D-Bus'
+arch=(any)
+url='https://trac.luon.net/ruby-dbus'
+license=(LGPL2.1)
+depends=(ruby)
+options=(!emptydirs)
+source=(https://rubygems.org/downloads/$_gemname-$pkgver.gem)
+noextract=($_gemname-$pkgver.gem)
+sha1sums=('71f574448925a807684f7f9799d9afdc80ffa2bd')
+
+package() {
+  local _gemdir="$(ruby -e'puts Gem.default_dir')"
+  gem install --ignore-dependencies --no-user-install -N -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" "$pkgdir/usr/share/licenses/$pkgname/COPYING"
+}


More information about the arch-commits mailing list