[arch-commits] Commit in ruby-nokogiri/repos/community-x86_64 (PKGBUILD PKGBUILD)
Tim Meusel
bastelfreak at gemini.archlinux.org
Tue Jan 4 14:35:09 UTC 2022
Date: Tuesday, January 4, 2022 @ 14:35:09
Author: bastelfreak
Revision: 1093005
archrelease: copy trunk to community-x86_64
Added:
ruby-nokogiri/repos/community-x86_64/PKGBUILD
(from rev 1093004, ruby-nokogiri/trunk/PKGBUILD)
Deleted:
ruby-nokogiri/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 56 ++++++++++++++++++++++++++++++--------------------------
1 file changed, 30 insertions(+), 26 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-01-04 14:28:10 UTC (rev 1093004)
+++ PKGBUILD 2022-01-04 14:35:09 UTC (rev 1093005)
@@ -1,26 +0,0 @@
-# Generated by gem2arch (https://github.com/anatol/gem2arch)
-# Maintainer: Anatol Pomozov <anatol.pomozov at gmail.com>
-
-_gemname=nokogiri
-pkgname=ruby-$_gemname
-pkgver=1.12.5
-pkgrel=1
-pkgdesc='Nokogiri (鋸) is an HTML, XML, SAX, and Reader parser'
-arch=(x86_64)
-url='https://nokogiri.org'
-license=(MIT)
-depends=(ruby ruby-mini_portile2 libxslt)
-options=(!emptydirs)
-source=(https://rubygems.org/downloads/$_gemname-$pkgver.gem)
-noextract=($_gemname-$pkgver.gem)
-sha1sums=('a290767b2fe1c9e233c8dd93bb0da86754c9292e')
-
-package() {
- local _gemdir="$(ruby -e'puts Gem.default_dir')"
- gem install --ignore-dependencies --no-user-install -i "$pkgdir/$_gemdir" -n "$pkgdir/usr/bin" $_gemname-$pkgver.gem -- --use-system-libraries
- sed -r 's|~>|>=|g' -i "$pkgdir/$_gemdir/specifications/$_gemname-$pkgver.gemspec"
- rm "$pkgdir/$_gemdir/cache/$_gemname-$pkgver.gem"
- rm "$pkgdir/$_gemdir/gems/$_gemname-$pkgver/ext/nokogiri"/{*.o,*.c,*.h}
- install -D -m644 "$pkgdir/$_gemdir/gems/$_gemname-$pkgver/LICENSE-DEPENDENCIES.md" "$pkgdir/usr/share/licenses/$pkgname/LICENSE-DEPENDENCIES.md"
- install -D -m644 "$pkgdir/$_gemdir/gems/$_gemname-$pkgver/LICENSE.md" "$pkgdir/usr/share/licenses/$pkgname/LICENSE.md"
-}
Copied: ruby-nokogiri/repos/community-x86_64/PKGBUILD (from rev 1093004, ruby-nokogiri/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-01-04 14:35:09 UTC (rev 1093005)
@@ -0,0 +1,30 @@
+# Generated by gem2arch (https://github.com/anatol/gem2arch)
+# Maintainer: Anatol Pomozov <anatol.pomozov at gmail.com>
+
+_gemname=nokogiri
+pkgname=ruby-$_gemname
+pkgver=1.12.5
+pkgrel=2
+pkgdesc='Nokogiri (鋸) is an HTML, XML, SAX, and Reader parser'
+arch=(x86_64)
+url='https://nokogiri.org'
+license=(MIT)
+depends=(ruby ruby-mini_portile2 libxslt)
+options=(!emptydirs)
+source=(https://rubygems.org/downloads/$_gemname-$pkgver.gem)
+noextract=($_gemname-$pkgver.gem)
+sha1sums=('a290767b2fe1c9e233c8dd93bb0da86754c9292e')
+
+package() {
+ local _gemdir="$(ruby -e'puts Gem.default_dir')"
+ local _platform="$(gem env platform | cut -d':' -f2)"
+ local _extension_api_version="$(ruby -e'puts Gem.extension_api_version')"
+ gem install --ignore-dependencies --no-user-install -i "$pkgdir/$_gemdir" -n "$pkgdir/usr/bin" $_gemname-$pkgver.gem -- --use-system-libraries
+ sed -r 's|~>|>=|g' -i "$pkgdir/$_gemdir/specifications/$_gemname-$pkgver.gemspec"
+ rm "$pkgdir/$_gemdir/cache/$_gemname-$pkgver.gem" \
+ "$pkgdir/$_gemdir/gems/$_gemname-$pkgver/ext/nokogiri"/{*.o,*.c,*.h} \
+ "$pkgdir/$_gemdir/gems/$_gemname-$pkgver/ext/nokogiri/Makefile" \
+ "${pkgdir}/${_gemdir}/extensions/${_platform}/${_extension_api_version}/${_gemname}-${pkgver}/gem_make.out"
+ install -D -m644 "$pkgdir/$_gemdir/gems/$_gemname-$pkgver/LICENSE-DEPENDENCIES.md" "$pkgdir/usr/share/licenses/$pkgname/LICENSE-DEPENDENCIES.md"
+ install -D -m644 "$pkgdir/$_gemdir/gems/$_gemname-$pkgver/LICENSE.md" "$pkgdir/usr/share/licenses/$pkgname/LICENSE.md"
+}
More information about the arch-commits
mailing list