[arch-commits] Commit in ruby-multi_json/repos/community-any (PKGBUILD PKGBUILD)
Tim Meusel
bastelfreak at archlinux.org
Sun May 16 12:28:50 UTC 2021
Date: Sunday, May 16, 2021 @ 12:28:49
Author: bastelfreak
Revision: 935780
archrelease: copy trunk to community-any
Added:
ruby-multi_json/repos/community-any/PKGBUILD
(from rev 935779, ruby-multi_json/trunk/PKGBUILD)
Deleted:
ruby-multi_json/repos/community-any/PKGBUILD
----------+
PKGBUILD | 46 ++++++++++++++++++++++++----------------------
1 file changed, 24 insertions(+), 22 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-05-16 12:28:40 UTC (rev 935779)
+++ PKGBUILD 2021-05-16 12:28:49 UTC (rev 935780)
@@ -1,22 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=ruby-multi_json
-pkgver=1.15.0
-pkgrel=2
-pkgdesc='A common interface to multiple JSON libraries.'
-arch=('any')
-url='https://github.com/intridea/multi_json'
-license=('MIT')
-depends=('ruby')
-makedepends=('ruby-rdoc')
-options=('!emptydirs')
-source=("https://rubygems.org/downloads/multi_json-$pkgver.gem")
-noextract=("multi_json-$pkgver.gem")
-sha512sums=('5021b66bd607bde8679899ff48fbf596cdf6a4f6c026472b20f25bd1933d105bef597c143ab529804d7b5a4a244476be24555f13a7fbe9fef30bbe1fb92978eb')
-
-package() {
- local _gemdir="$(ruby -e'puts Gem.default_dir')"
- gem install --ignore-dependencies --no-user-install -i "$pkgdir/$_gemdir" -n "$pkgdir"/usr/bin multi_json-$pkgver.gem
- rm "$pkgdir/$_gemdir"/cache/multi_json-$pkgver.gem
- install -D -m644 "$pkgdir/$_gemdir"/gems/multi_json-$pkgver/LICENSE.md "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.md
-}
Copied: ruby-multi_json/repos/community-any/PKGBUILD (from rev 935779, ruby-multi_json/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-05-16 12:28:49 UTC (rev 935780)
@@ -0,0 +1,24 @@
+# Maintainer: Tim Meusel <tim at bastelfreak.de>
+# Contributor: Felix Yan <felixonmars at archlinux.org>
+
+_gemname=multi_json
+pkgname="ruby-${_gemname}"
+pkgver=1.15.0
+pkgrel=3
+pkgdesc='A common interface to multiple JSON libraries.'
+arch=('any')
+url="https://github.com/intridea/${_gemname}"
+license=('MIT')
+depends=('ruby')
+makedepends=('ruby-rdoc')
+options=('!emptydirs')
+source=("https://rubygems.org/downloads/${_gemname}-$pkgver.gem")
+noextract=("${_gemname}-${pkgver}.gem")
+sha512sums=('5021b66bd607bde8679899ff48fbf596cdf6a4f6c026472b20f25bd1933d105bef597c143ab529804d7b5a4a244476be24555f13a7fbe9fef30bbe1fb92978eb')
+
+package() {
+ local _gemdir="$(ruby -e'puts Gem.default_dir')"
+ gem install --ignore-dependencies --no-user-install --install-dir "${pkgdir}/${_gemdir}" --bindir "${pkgdir}/usr/bin" "${_gemname}-${pkgver}.gem"
+ rm "${pkgdir}/${_gemdir}/cache/${_gemname}-${pkgver}.gem"
+ install -D -m644 "${pkgdir}/${_gemdir}/gems/${_gemname}-${pkgver}/LICENSE.md" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.md"
+}
More information about the arch-commits
mailing list