nvchecker: remove ruby-pry

This commit is contained in:
George Rawlinson 2023-01-10 16:05:44 +13:00
parent 6ad18eb460
commit b06e6eaa2e
Signed by: grawlinson
GPG key ID: E0959FEA8B550539
3 changed files with 0 additions and 97 deletions

View file

@ -2311,11 +2311,6 @@ gems = "guard-compat"
source = "gems"
gems = "guard"
[ruby-pry]
source = "gems"
gems = "pry"
exclude_regex = "^.*(pre).*$"
[ruby-coderay]
source = "gems"
gems = "coderay"

View file

@ -1,46 +0,0 @@
# Maintainer: George Rawlinson <grawlinson@archlinux.org>
_gemname=listen
pkgname=ruby-$_gemname
pkgver=3.7.1
pkgrel=1
pkgdesc="Listens to file modifications and notifies you about the changes"
arch=('any')
url="https://github.com/guard/listen"
license=('MIT')
depends=(
'ruby'
'ruby-rb-fsevent'
'ruby-rb-inotify'
)
options=('!emptydirs')
source=("https://rubygems.org/downloads/$_gemname-$pkgver.gem")
noextract=("$_gemname-$pkgver.gem")
sha512sums=('902324850d022086ced8aa0759638a3d909c717ea8045af276f1a2e27128796c5fbe0b4b7e57aee76362cbeac3401101eaf68d9cc173364507811f7934c8e606')
b2sums=('04583e3c5063efab36af15f2d3e180e0b38ec246417277dfaf60230bd98ebe88deaec42a90cd436a94dd1269525a4b509bdaba76db3847d6a3fcc3acbb9febd2')
package() {
local _gemdir="$(ruby -e'puts Gem.default_dir')"
gem install \
--ignore-dependencies \
--no-user-install \
--no-document \
--install-dir "$pkgdir/$_gemdir" \
--bindir "$pkgdir/usr/bin" \
"$_gemname-$pkgver.gem"
# delete cache
cd "$pkgdir/$_gemdir"
rm -vrf cache
cd "gems/$_gemname-$pkgver"
# move documentation
install -vd "$pkgdir/usr/share/doc/$pkgname"
mv -vt "$pkgdir/usr/share/doc/$pkgname" *.md
# move license
install -vd "$pkgdir/usr/share/licenses/$pkgname"
mv -vt "$pkgdir/usr/share/licenses/$pkgname" LICENSE.txt
}

View file

@ -1,46 +0,0 @@
# Maintainer: George Rawlinson <grawlinson@archlinux.org>
_gemname=pry
pkgname=ruby-$_gemname
pkgver=0.14.1
pkgrel=1
pkgdesc="A runtime developer console and IRB alternative"
arch=('any')
url="http://github.com/pry/pry"
license=('MIT')
depends=(
'ruby'
'ruby-coderay'
'ruby-method_source'
)
makedepends=('ruby-rdoc')
options=('!emptydirs')
source=("https://rubygems.org/downloads/$_gemname-$pkgver.gem")
noextract=("$_gemname-$pkgver.gem")
b2sums=('84e8c473937fec9359144e8b404ff225e4b4d190d6f8c1629710788822e3fba819d9a3b8c926ac0ccd5739f082ef12a77820923be7f19f37e1b275782276a22e')
package() {
local _gemdir="$(ruby -e'puts Gem.default_dir')"
gem install \
--verbose \
--ignore-dependencies \
--no-user-install \
--install-dir "$pkgdir/$_gemdir" \
--bindir "$pkgdir/usr/bin" \
"$_gemname-$pkgver.gem"
# delete cache
cd "$pkgdir/$_gemdir"
rm -vrf cache
cd "gems/$_gemname-$pkgver"
# move documentation
install -vd "$pkgdir/usr/share/doc/$pkgname"
mv -vt "$pkgdir/usr/share/doc/$pkgname" *.md
# move license
install -vd "$pkgdir/usr/share/licenses/$pkgname"
mv -vt "$pkgdir/usr/share/licenses/$pkgname" LICENSE
}