1
0
mirror of https://github.com/bertptrs/aur.git synced 2025-12-27 13:30:31 +01:00

Add 'ruby-listen/' from commit 'a9f72f5a1ee92420aaf3ead1532eb6e642750e34'

git-subtree-dir: ruby-listen
git-subtree-mainline: a2549312d9
git-subtree-split: a9f72f5a1e
This commit is contained in:
2021-07-22 19:13:43 +02:00
3 changed files with 46 additions and 0 deletions

18
ruby-listen/.SRCINFO Normal file
View File

@@ -0,0 +1,18 @@
pkgbase = ruby-listen
pkgdesc = The Listen gem listens to file modifications and notifies you about the changes. Works everywhere!
pkgver = 3.5.1
pkgrel = 1
url = https://rubygems.org/gems/listen
arch = any
license = MIT
makedepends = ruby-rdoc
depends = ruby
depends = ruby-rb-inotify>=0.9.10
depends = ruby-rb-fsevent>=0.10.3
noextract = listen-3.5.1.gem
options = !emptydirs
source = https://rubygems.org/downloads/listen-3.5.1.gem
sha256sums = d2f6425068347454936c75bf3b9fc0f925b40d17ba7df752031c8c083b195b40
pkgname = ruby-listen

4
ruby-listen/.gitignore vendored Normal file
View File

@@ -0,0 +1,4 @@
*
!PKGBUILD
!.SRCINFO
!.gitignore

24
ruby-listen/PKGBUILD Normal file
View File

@@ -0,0 +1,24 @@
# Maintainer: Bert Peters <bert@bertptrs.nl>
# Contributor: Carsten Feuls <archlinux@carstenfeuls.de>
pkgname=ruby-listen
pkgver=3.5.1
pkgrel=1
pkgdesc="The Listen gem listens to file modifications and notifies you about the changes. Works everywhere!"
arch=('any')
url="https://rubygems.org/gems/listen"
license=("MIT")
depends=('ruby' 'ruby-rb-inotify>=0.9.10' 'ruby-rb-fsevent>=0.10.3')
makedepends=('ruby-rdoc')
source=("https://rubygems.org/downloads/listen-$pkgver.gem")
noextract=("listen-$pkgver.gem")
options=('!emptydirs')
sha256sums=('d2f6425068347454936c75bf3b9fc0f925b40d17ba7df752031c8c083b195b40')
package() {
local _gemdir="$(ruby -e'puts Gem.default_dir')"
gem install --ignore-dependencies --no-user-install -i "$pkgdir/$_gemdir" -n "$pkgdir"/usr/bin listen-$pkgver.gem
rm "$pkgdir/$_gemdir"/cache/listen-$pkgver.gem
install -Dm0644 "$pkgdir/$_gemdir"/gems/listen-$pkgver/LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}