mirror of
https://github.com/bertptrs/aur.git
synced 2025-12-25 20:40:32 +01:00
[upd] 2.8.3→3.0.3
This commit is contained in:
10
.SRCINFO
10
.SRCINFO
@@ -1,6 +1,6 @@
|
||||
pkgbase = ruby-listen
|
||||
pkgdesc = The Listen gem listens to file modifications and notifies you about the changes. Works everywhere!
|
||||
pkgver = 2.8.3
|
||||
pkgver = 3.0.3
|
||||
pkgrel = 1
|
||||
url = https://rubygems.org/gems/listen
|
||||
arch = any
|
||||
@@ -8,10 +8,10 @@ pkgbase = ruby-listen
|
||||
depends = ruby
|
||||
depends = ruby-rb-inotify>=0.9
|
||||
depends = ruby-rb-fsevent>=0.9.3
|
||||
depends = ruby-celluloid-0.16
|
||||
noextract = -2.8.3.gem
|
||||
source = http://gems.rubyforge.org/gems/listen-2.8.3.gem
|
||||
sha256sums = fcad2e4342713fd12eadff0650a0d7d9a8aa88e88c5331d430ffe0692eca76b3
|
||||
noextract = listen-3.0.3.gem
|
||||
options = !emptydirs
|
||||
source = https://rubygems.org/downloads/listen-3.0.3.gem
|
||||
sha256sums = 4be05d749cc8642e11ba19f938c5e8a4f5a60ded40a6940e9f99763a25d49082
|
||||
|
||||
pkgname = ruby-listen
|
||||
|
||||
|
||||
28
PKGBUILD
28
PKGBUILD
@@ -1,24 +1,26 @@
|
||||
# Maintainer: Hugo Osvaldo Barrera <hugo@barrera.io>
|
||||
# Maintainer:
|
||||
# Contributor: carstene1ns <arch carsten-teibes de> - http://git.io/ctPKG
|
||||
# Contributor: Hugo Osvaldo Barrera <hugo@barrera.io>
|
||||
# Contributor: Sid Karunaratne <sid@karunaratne.net>
|
||||
# Contributor: Hyacinthe Cartiaux <hyacinthe.cartiaux (a) free.fr>
|
||||
# Contributor: Hyacinthe Cartiaux <hyacinthe.cartiaux (a) free.fr>
|
||||
|
||||
pkgname=ruby-listen
|
||||
pkgver=2.8.3
|
||||
_realname="listen"
|
||||
pkgver=3.0.3
|
||||
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' 'ruby-rb-fsevent>=0.9.3'
|
||||
'ruby-celluloid-0.16')
|
||||
source=(http://gems.rubyforge.org/gems/$_realname-$pkgver.gem)
|
||||
sha256sums=('fcad2e4342713fd12eadff0650a0d7d9a8aa88e88c5331d430ffe0692eca76b3')
|
||||
noextract=($real_name-$pkgver.gem)
|
||||
depends=('ruby' 'ruby-rb-inotify>=0.9' 'ruby-rb-fsevent>=0.9.3')
|
||||
source=("https://rubygems.org/downloads/listen-$pkgver.gem")
|
||||
noextract=("listen-$pkgver.gem")
|
||||
sha256sums=('4be05d749cc8642e11ba19f938c5e8a4f5a60ded40a6940e9f99763a25d49082')
|
||||
options=('!emptydirs')
|
||||
|
||||
package() {
|
||||
cd $srcdir
|
||||
local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')"
|
||||
gem install --ignore-dependencies --no-user-install -i "$pkgdir$_gemdir" ${_realname}-$pkgver.gem
|
||||
}
|
||||
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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user