[arch-commits] Commit in ruby-dbus/repos (community-any community-any/PKGBUILD)
Jan Steffens
heftig at archlinux.org
Thu Apr 16 09:15:05 UTC 2015
Date: Thursday, April 16, 2015 @ 11:15:05
Author: heftig
Revision: 131461
archrelease: copy trunk to community-any
Added:
ruby-dbus/repos/community-any/
ruby-dbus/repos/community-any/PKGBUILD
(from rev 131460, ruby-dbus/trunk/PKGBUILD)
----------+
PKGBUILD | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
Copied: ruby-dbus/repos/community-any/PKGBUILD (from rev 131460, ruby-dbus/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD (rev 0)
+++ community-any/PKGBUILD 2015-04-16 09:15:05 UTC (rev 131461)
@@ -0,0 +1,25 @@
+# $Id$
+# 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.11.0
+pkgrel=1
+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=('2fefd1e157dd94f3dc33d5de9394f551d3557a41')
+
+package() {
+ local _gemdir="$(ruby -e'puts Gem.default_dir')"
+ gem install --ignore-dependencies --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" "$pkgdir/usr/share/licenses/$pkgname/COPYING"
+}
More information about the arch-commits
mailing list