[arch-commits] Commit in ruby-pkg-config/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Thu Dec 26 00:15:17 UTC 2019
Date: Thursday, December 26, 2019 @ 00:15:16
Author: felixonmars
Revision: 541543
archrelease: copy trunk to community-staging-any
Added:
ruby-pkg-config/repos/community-staging-any/
ruby-pkg-config/repos/community-staging-any/PKGBUILD
(from rev 541542, ruby-pkg-config/trunk/PKGBUILD)
----------+
PKGBUILD | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
Copied: ruby-pkg-config/repos/community-staging-any/PKGBUILD (from rev 541542, ruby-pkg-config/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2019-12-26 00:15:16 UTC (rev 541543)
@@ -0,0 +1,29 @@
+# Maintainer: Alexander Rødseth <rodseth at gmail.com>
+# Contributor: Brad Fanella <bradfanella at archlinux.us>
+# Contributor: gem2arch 0.1
+# Contributor: theapodan
+
+pkgname=ruby-pkg-config
+_pkgname=pkg-config
+pkgver=1.3.7
+pkgrel=2
+pkgdesc='Implementation of pkg-config in ruby'
+arch=('any')
+url='https://github.com/ruby-gnome2/pkg-config'
+license=('LGPL')
+depends=('ruby')
+provides=('ruby-pkgconfig')
+replaces=('ruby-pkgconfig')
+conflicts=('ruby-pkgconfig')
+source=("https://rubygems.org/downloads/$_pkgname-$pkgver.gem")
+sha256sums=('216fdf7ecd753dcc258cf516e1843f8e354c155b0aef2428f36e60c840f5a6e8')
+noextract=("$_pkgname-$pkgver.gem")
+
+package() {
+ gem install \
+ --no-user-install \
+ --ignore-dependencies \
+ --no-document \
+ -i "$pkgdir$(ruby -e'puts Gem.default_dir')" \
+ $_pkgname-$pkgver.gem
+}
More information about the arch-commits
mailing list