[arch-commits] Commit in ruby-tins/repos (2 files)
Anatol Pomozov
anatolik at archlinux.org
Thu Nov 19 02:02:11 UTC 2020
Date: Thursday, November 19, 2020 @ 02:02:10
Author: anatolik
Revision: 757330
archrelease: copy trunk to community-testing-any
Added:
ruby-tins/repos/community-testing-any/
ruby-tins/repos/community-testing-any/PKGBUILD
(from rev 757329, ruby-tins/trunk/PKGBUILD)
----------+
PKGBUILD | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
Copied: ruby-tins/repos/community-testing-any/PKGBUILD (from rev 757329, ruby-tins/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD (rev 0)
+++ community-testing-any/PKGBUILD 2020-11-19 02:02:10 UTC (rev 757330)
@@ -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.26.0
+pkgrel=1
+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=('b86e70b20c1554a9b2585ed96bf13160ed5daf5db49588374c82cc5fb683016c')
+
+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