[arch-commits] Commit in ruby-tins/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Thu Dec 26 00:14:11 UTC 2019
Date: Thursday, December 26, 2019 @ 00:14:10
Author: felixonmars
Revision: 541541
archrelease: copy trunk to community-staging-any
Added:
ruby-tins/repos/community-staging-any/
ruby-tins/repos/community-staging-any/PKGBUILD
(from rev 541540, ruby-tins/trunk/PKGBUILD)
----------+
PKGBUILD | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
Copied: ruby-tins/repos/community-staging-any/PKGBUILD (from rev 541540, ruby-tins/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2019-12-26 00:14:10 UTC (rev 541541)
@@ -0,0 +1,26 @@
+# 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.16.3
+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=('68cde57b4d12de20248284b9a6921f385170509b6b3ab2a030b6f46d89ee253d')
+
+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