Date: Sunday, January 19, 2014 @ 17:46:40 Author: td123 Revision: 104380
archrelease: copy trunk to community-staging-any Added: ruby-pkgconfig/repos/community-staging-any/ ruby-pkgconfig/repos/community-staging-any/PKGBUILD (from rev 104379, ruby-pkgconfig/trunk/PKGBUILD) ----------+ PKGBUILD | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) Copied: ruby-pkgconfig/repos/community-staging-any/PKGBUILD (from rev 104379, ruby-pkgconfig/trunk/PKGBUILD) =================================================================== --- community-staging-any/PKGBUILD (rev 0) +++ community-staging-any/PKGBUILD 2014-01-19 16:46:40 UTC (rev 104380) @@ -0,0 +1,30 @@ +# $Id$ +# Maintainer: Alexander Rødseth <rods...@gmail.com> +# Contributor: Brad Fanella <bradfane...@archlinux.us> +# Contributor: gem2arch 0.1 +# Contributor: theapodan + +pkgname=ruby-pkgconfig +_pkgname=pkg-config +pkgver=1.1.5 +pkgrel=1 +pkgdesc='Implementation of pkg-config in ruby' +arch=('any') +url='http://github.com/rcairo/pkg-config' +license=('LGPL') +depends=('ruby') +source=("http://gems.rubyforge.org/gems/$_pkgname-$pkgver.gem") +sha256sums=('c821a08679b447e9665639d7c12b6a1d566530dcc9920c2d5dfd5e2e7cab06a7') +noextract=("$_pkgname-$pkgver.gem") + +package() { + cd "$srcdir" + + gem install \ + --no-user-install \ + --ignore-dependencies \ + -i "$pkgdir$(ruby -rubygems -e'puts Gem.default_dir')" \ + $_pkgname-$pkgver.gem +} + +# vim:set ts=2 sw=2 et: