[arch-commits] Commit in ruby-rexml/repos (2 files)
Anatol Pomozov
anatolik at archlinux.org
Fri Mar 19 20:38:07 UTC 2021
Date: Friday, March 19, 2021 @ 20:38:07
Author: anatolik
Revision: 895037
archrelease: copy trunk to community-staging-any
Added:
ruby-rexml/repos/community-staging-any/
ruby-rexml/repos/community-staging-any/PKGBUILD
(from rev 895036, ruby-rexml/trunk/PKGBUILD)
----------+
PKGBUILD | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
Copied: ruby-rexml/repos/community-staging-any/PKGBUILD (from rev 895036, ruby-rexml/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2021-03-19 20:38:07 UTC (rev 895037)
@@ -0,0 +1,22 @@
+# Maintainer: Anatol Pomozov <anatol.pomozov at gmail.com>
+
+_gemname=rexml
+pkgname=ruby-$_gemname
+pkgver=3.2.4
+pkgrel=1
+pkgdesc='An XML toolkit for Ruby'
+arch=(any)
+url='https://github.com/ruby/rexml'
+license=(BSD-2)
+depends=(ruby)
+#makedepends=('ruby-rdoc')
+options=(!emptydirs)
+source=(https://rubygems.org/downloads/$_gemname-$pkgver.gem)
+noextract=($_gemname-$pkgver.gem)
+sha256sums=('036b31f3c052be42b7a2e6914f3322daaecce46b172806f38fea4297389b7bd6')
+
+package() {
+ local _gemdir="$(ruby -e'puts Gem.default_dir')"
+ gem install --no-document --ignore-dependencies --no-user-install -i "$pkgdir/$_gemdir" -n "$pkgdir/usr/bin" $_gemname-$pkgver.gem
+ rm "$pkgdir/$_gemdir/cache/$_gemname-$pkgver.gem"
+}
More information about the arch-commits
mailing list