[arch-commits] Commit in ruby-tins/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Mon Jan 9 18:12:05 UTC 2017
Date: Monday, January 9, 2017 @ 18:12:04
Author: foutrelis
Revision: 206196
archrelease: copy trunk to community-staging-any
Added:
ruby-tins/repos/community-staging-any/
ruby-tins/repos/community-staging-any/PKGBUILD
(from rev 206195, ruby-tins/trunk/PKGBUILD)
----------+
PKGBUILD | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
Copied: ruby-tins/repos/community-staging-any/PKGBUILD (from rev 206195, ruby-tins/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2017-01-09 18:12:04 UTC (rev 206196)
@@ -0,0 +1,27 @@
+# $Id$
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: Julien Nicoulaud <julien.nicoulaud at gmail.com>
+# Contributor: Hyacinthe Cartiaux <hyacinthe.cartiaux at free.fr>
+
+pkgname=ruby-tins
+pkgver=1.13.0
+pkgrel=2
+pkgdesc='All the stuff that is not good/big enough for a real library'
+arch=('any')
+url='https://github.com/flori/tins'
+license=('MIT')
+depends=('ruby')
+options=('!emptydirs')
+source=("https://rubygems.org/downloads/tins-${pkgver}.gem")
+noextract=("tins-${pkgver}.gem")
+sha256sums=('26dc5c81fa03c9f263f3dd1b8129d8587df9b1654bb8f65a7fc32846eeb37a5d')
+
+package() {
+ local _gemdir="$(ruby -e'puts Gem.default_dir')"
+
+ gem install --ignore-dependencies --no-user-install -N -i "${pkgdir}"/${_gemdir} tins-${pkgver}.gem
+ find "${pkgdir}" -type f -name *.gem -delete
+
+ install -dm 755 "${pkgdir}"/usr/share/licenses/ruby-tins
+ ln -s ${_gemdir}/gems/tins-${pkgver}/COPYING "${pkgdir}"/usr/share/licenses/ruby-tins/
+}
More information about the arch-commits
mailing list