Date: Thursday, March 7, 2013 @ 15:33:49 Author: arodseth Revision: 85821
archrelease: copy trunk to community-staging-any Added: ruby-pkgconfig/repos/community-staging-any/ ruby-pkgconfig/repos/community-staging-any/PKGBUILD (from rev 85820, ruby-pkgconfig/trunk/PKGBUILD) ----------+ PKGBUILD | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) Copied: ruby-pkgconfig/repos/community-staging-any/PKGBUILD (from rev 85820, ruby-pkgconfig/trunk/PKGBUILD) =================================================================== --- community-staging-any/PKGBUILD (rev 0) +++ community-staging-any/PKGBUILD 2013-03-07 14:33:49 UTC (rev 85821) @@ -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.4 +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=('c08fc6596eeef6f0fcfd4c8433010a143c22142f9cccbc2666f32c67c5af8b34') +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: