[arch-commits] Commit in ruby27-rake/repos/community-testing-any (PKGBUILD PKGBUILD)
Tim Meusel
bastelfreak at archlinux.org
Sat May 15 23:39:51 UTC 2021
Date: Saturday, May 15, 2021 @ 23:39:50
Author: bastelfreak
Revision: 934843
archrelease: copy trunk to community-testing-any
Added:
ruby27-rake/repos/community-testing-any/PKGBUILD
(from rev 934842, ruby27-rake/trunk/PKGBUILD)
Deleted:
ruby27-rake/repos/community-testing-any/PKGBUILD
----------+
PKGBUILD | 49 +++++++++++++++++++++++++------------------------
1 file changed, 25 insertions(+), 24 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-05-15 23:39:17 UTC (rev 934842)
+++ PKGBUILD 2021-05-15 23:39:50 UTC (rev 934843)
@@ -1,24 +0,0 @@
-# Maintainer: Tim Meusel <tim at bastelfreak.de>
-# Contributor: Anatol Pomozov <anatol.pomozov at gmail.com>
-
-_gemname=rake
-pkgname=ruby27-$_gemname
-pkgver=13.0.3
-pkgrel=1
-pkgdesc='Make-like build tool implemented in Ruby'
-provides=(rake)
-arch=(any)
-url='https://ruby.github.io/rake/'
-license=(MIT)
-depends=(ruby2.7)
-options=(!emptydirs)
-source=(https://rubygems.org/downloads/$_gemname-$pkgver.gem)
-noextract=($_gemname-$pkgver.gem)
-sha512sums=('cecfc63e8cf52f016d001d7ea886be434c4713c8d0af1d5c99b685c0524577239e7199376aed0b2f167e4f67bca1e2572c422b35aecb3aa6af4d9e8d6e2d347d')
-
-package() {
- local _gemdir="$(ruby-2.7 -e'puts Gem.default_dir')"
- gem-2.7 install --ignore-dependencies --no-user-install --no-document -i "$pkgdir/$_gemdir" -n "$pkgdir/usr/bin" $_gemname-$pkgver.gem
- rm "$pkgdir/$_gemdir/cache/$_gemname-$pkgver.gem"
- install -Dm 644 "${pkgdir}${_gemdir}/gems/${_gemname}-${pkgver}/MIT-LICENSE" -t "${pkgdir}/usr/share/licenses/${pkgname}/"
-}
Copied: ruby27-rake/repos/community-testing-any/PKGBUILD (from rev 934842, ruby27-rake/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-05-15 23:39:50 UTC (rev 934843)
@@ -0,0 +1,25 @@
+# Maintainer: Tim Meusel <tim at bastelfreak.de>
+# Contributor: Anatol Pomozov <anatol.pomozov at gmail.com>
+
+_gemname=rake
+pkgname=ruby27-$_gemname
+pkgver=13.0.3
+pkgrel=2
+pkgdesc='Make-like build tool implemented in Ruby'
+provides=(rake)
+arch=(any)
+url='https://ruby.github.io/rake/'
+license=(MIT)
+depends=(ruby2.7)
+options=(!emptydirs)
+source=(https://rubygems.org/downloads/$_gemname-$pkgver.gem)
+noextract=($_gemname-$pkgver.gem)
+sha512sums=('cecfc63e8cf52f016d001d7ea886be434c4713c8d0af1d5c99b685c0524577239e7199376aed0b2f167e4f67bca1e2572c422b35aecb3aa6af4d9e8d6e2d347d')
+
+package() {
+ local _gemdir="$(ruby-2.7 -e'puts Gem.default_dir')"
+ gem-2.7 install --ignore-dependencies --no-user-install --no-document --install-dir "$pkgdir/$_gemdir" --bindir "$pkgdir/usr/bin" $_gemname-$pkgver.gem
+ rm "$pkgdir/$_gemdir/cache/$_gemname-$pkgver.gem"
+ install -Dm 644 "${pkgdir}${_gemdir}/gems/${_gemname}-${pkgver}/MIT-LICENSE" -t "${pkgdir}/usr/share/licenses/${pkgname}/"
+ mv "${pkgdir}/usr/bin/rake" "${pkgdir}/usr/bin/ruby27-rake"
+}
More information about the arch-commits
mailing list