[arch-commits] Commit in ruby-rb-fsevent/repos/community-any (PKGBUILD PKGBUILD)
George Rawlinson
grawlinson at gemini.archlinux.org
Mon Feb 7 00:25:36 UTC 2022
Date: Monday, February 7, 2022 @ 00:25:36
Author: grawlinson
Revision: 1127357
archrelease: copy trunk to community-any
Added:
ruby-rb-fsevent/repos/community-any/PKGBUILD
(from rev 1127356, ruby-rb-fsevent/trunk/PKGBUILD)
Deleted:
ruby-rb-fsevent/repos/community-any/PKGBUILD
----------+
PKGBUILD | 116 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 58 insertions(+), 58 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-02-07 00:24:02 UTC (rev 1127356)
+++ PKGBUILD 2022-02-07 00:25:36 UTC (rev 1127357)
@@ -1,58 +0,0 @@
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-# Maintainer: George Rawlinson <grawlinson at archlinux.org>
-
-_gemname=rb-fsevent
-pkgname=ruby-${_gemname}
-pkgver=0.11.0
-pkgrel=1
-pkgdesc='FSEvents API with signals handled (without RubyCocoa)'
-url='https://github.com/thibaudgg/rb-fsevent'
-arch=('any')
-license=('MIT')
-depends=('ruby')
-makedepends=('ruby-rdoc' 'ruby-rake' 'ruby-rspec' 'ruby-bundler')
-options=('!emptydirs')
-source=(${url}/archive/v${pkgver}/${_gemname}-${pkgver}.tar.gz)
-sha512sums=('e6a3997fdf9d15cbd26cef7e00850f13deb01bf7aa72fb2b526ea315b82b1e4fc945e946050d7ce803e208d60656e7e9dcb97ddd94b4a18dacf1c62c03bf715e')
-b2sums=('a347594c36e01f268d9f0093d1f46e478b0757694e5f8dbb98d972de74571f4bd7a78b162c1973a93631300f477486c194ef448b4af08de46ccf8753ac4266f6')
-
-prepare() {
- cd ${_gemname}-${pkgver}
- sed -r 's|~>|>=|g' -i ${_gemname}.gemspec Rakefile
- sed 's|git ls-files -z|find -type f -print0\|sed "s,\\\\./,,g"|' -i ${_gemname}.gemspec
-}
-
-build() {
- cd ${_gemname}-${pkgver}
- rake build
-}
-
-package() {
- cd ${_gemname}-${pkgver}
- local _gemdir="$(ruby -e'puts Gem.default_dir')"
- gem install \
- --verbose \
- --ignore-dependencies \
- --no-user-install \
- --install-dir "$pkgdir/$_gemdir" \
- --bindir "$pkgdir/usr/bin" \
- "pkg/$_gemname-$pkgver.gem"
-
- # delete cache
- cd "$pkgdir/$_gemdir"
- rm -vrf cache
-
- # delete unnecessary files & folders
- cd "gems/$_gemname-$pkgver"
- rm -vrf ext .gitignore "$_gemname.gemspec"
-
- # move documentation
- install -vd "$pkgdir/usr/share/doc/$pkgname"
- mv -vt "$pkgdir/usr/share/doc/$pkgname" README.md
-
- # move license
- install -vd "$pkgdir/usr/share/licenses/$pkgname"
- mv -vt "$pkgdir/usr/share/licenses/$pkgname" LICENSE.txt
-}
-
-# vim: ts=2 sw=2 et:
Copied: ruby-rb-fsevent/repos/community-any/PKGBUILD (from rev 1127356, ruby-rb-fsevent/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-02-07 00:25:36 UTC (rev 1127357)
@@ -0,0 +1,58 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Maintainer: George Rawlinson <grawlinson at archlinux.org>
+
+_gemname=rb-fsevent
+pkgname=ruby-${_gemname}
+pkgver=0.11.1
+pkgrel=1
+pkgdesc='FSEvents API with signals handled (without RubyCocoa)'
+url='https://github.com/thibaudgg/rb-fsevent'
+arch=('any')
+license=('MIT')
+depends=('ruby')
+makedepends=('ruby-rdoc' 'ruby-rake' 'ruby-rspec' 'ruby-bundler')
+options=('!emptydirs')
+source=(${url}/archive/v${pkgver}/${_gemname}-${pkgver}.tar.gz)
+sha512sums=('28183016c9c0ff514a3d5cefb15bdca099af8aea102c1c0a5e5d80243b210d11e37599ec36b8b22f193f090d19d8acacb66815f5538997eaf5e27125107884ff')
+b2sums=('68c1d9e90f15a01db2f47ddd244831e157c4f73dc3cafcad0c80f23d39de512636b26d3cd56dd4da40b54bc18282cb21f4653c2c2d86772c778cf2880dbaf15f')
+
+prepare() {
+ cd ${_gemname}-${pkgver}
+ sed -r 's|~>|>=|g' -i ${_gemname}.gemspec Rakefile
+ sed 's|git ls-files -z|find -type f -print0\|sed "s,\\\\./,,g"|' -i ${_gemname}.gemspec
+}
+
+build() {
+ cd ${_gemname}-${pkgver}
+ rake build
+}
+
+package() {
+ cd ${_gemname}-${pkgver}
+ local _gemdir="$(ruby -e'puts Gem.default_dir')"
+ gem install \
+ --verbose \
+ --ignore-dependencies \
+ --no-user-install \
+ --install-dir "$pkgdir/$_gemdir" \
+ --bindir "$pkgdir/usr/bin" \
+ "pkg/$_gemname-$pkgver.gem"
+
+ # delete cache
+ cd "$pkgdir/$_gemdir"
+ rm -vrf cache
+
+ # delete unnecessary files & folders
+ cd "gems/$_gemname-$pkgver"
+ rm -vrf ext .gitignore "$_gemname.gemspec"
+
+ # move documentation
+ install -vd "$pkgdir/usr/share/doc/$pkgname"
+ mv -vt "$pkgdir/usr/share/doc/$pkgname" README.md
+
+ # move license
+ install -vd "$pkgdir/usr/share/licenses/$pkgname"
+ mv -vt "$pkgdir/usr/share/licenses/$pkgname" LICENSE.txt
+}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list