[arch-commits] Commit in ruby-tins/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Wed Jan 3 07:01:34 UTC 2018
Date: Wednesday, January 3, 2018 @ 07:01:33
Author: foutrelis
Revision: 277851
archrelease: copy trunk to community-staging-any
Added:
ruby-tins/repos/community-staging-any/
ruby-tins/repos/community-staging-any/PKGBUILD
(from rev 277850, ruby-tins/trunk/PKGBUILD)
----------+
PKGBUILD | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
Copied: ruby-tins/repos/community-staging-any/PKGBUILD (from rev 277850, ruby-tins/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2018-01-03 07:01:33 UTC (rev 277851)
@@ -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=3
+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