[arch-commits] Commit in ruby-native-package-installer/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Thu Dec 26 00:30:16 UTC 2019
Date: Thursday, December 26, 2019 @ 00:30:14
Author: felixonmars
Revision: 541613
archrelease: copy trunk to community-staging-any
Added:
ruby-native-package-installer/repos/community-staging-any/
ruby-native-package-installer/repos/community-staging-any/PKGBUILD
(from rev 541612, ruby-native-package-installer/trunk/PKGBUILD)
----------+
PKGBUILD | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
Copied: ruby-native-package-installer/repos/community-staging-any/PKGBUILD (from rev 541612, ruby-native-package-installer/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2019-12-26 00:30:14 UTC (rev 541613)
@@ -0,0 +1,22 @@
+# Maintainer: Ruby quarry (https://github.com/anatol/quarry)
+
+_gemname=native-package-installer
+pkgname=ruby-$_gemname
+pkgver=1.0.6
+pkgrel=4
+pkgdesc=native-package-installer\ helps\ to\ install\ native\ packages\ on\ \"gem\ install\"
+arch=(any)
+url=https://github.com/ruby-gnome2/native-package-installer
+license=(LGPL3)
+depends=(ruby)
+makedepends=(ruby-rdoc)
+options=(!emptydirs)
+source=(https://rubygems.org/downloads/$_gemname-$pkgver.gem)
+noextract=($_gemname-$pkgver.gem)
+sha1sums=('b49175bbb84cfcaebdc981a3c099383180cfda73')
+
+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
+ rm "$pkgdir/$_gemdir/cache/$_gemname-$pkgver.gem"
+}
More information about the arch-commits
mailing list