[arch-commits] Commit in ruby-pkg-config/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Fri Mar 19 17:59:25 UTC 2021
Date: Friday, March 19, 2021 @ 17:59:25
Author: felixonmars
Revision: 894815
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 894811, ruby-pkg-config/trunk/PKGBUILD)
----------+
PKGBUILD | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
Copied: ruby-pkg-config/repos/community-staging-any/PKGBUILD (from rev 894811, ruby-pkg-config/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2021-03-19 17:59:25 UTC (rev 894815)
@@ -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.4.1
+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=('dca87a58534dfc3ff61c5de1289ed6622a5bd1f5b48fb2dc7a1cc5ef8f6b4ef2')
+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