[arch-commits] Commit in (4 files)
Anatol Pomozov
anatolik at archlinux.org
Tue Jan 19 18:00:10 UTC 2021
Date: Tuesday, January 19, 2021 @ 18:00:10
Author: anatolik
Revision: 823784
ruby-nokogiri: add to [community]
Added:
ruby-nokogiri/
ruby-nokogiri/repos/
ruby-nokogiri/trunk/
ruby-nokogiri/trunk/PKGBUILD
----------+
PKGBUILD | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
Added: ruby-nokogiri/trunk/PKGBUILD
===================================================================
--- ruby-nokogiri/trunk/PKGBUILD (rev 0)
+++ ruby-nokogiri/trunk/PKGBUILD 2021-01-19 18:00:10 UTC (rev 823784)
@@ -0,0 +1,25 @@
+# Generated by gem2arch (https://github.com/anatol/gem2arch)
+# Maintainer: Anatol Pomozov <anatol.pomozov at gmail.com>
+
+_gemname=nokogiri
+pkgname=ruby-$_gemname
+pkgver=1.11.1
+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=('838f26941f2a97866c29d824531eebdc8a63302a')
+
+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
+ 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"
+}
Property changes on: ruby-nokogiri/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
More information about the arch-commits
mailing list