Date: Thursday, December 25, 2014 @ 15:18:09 Author: anatolik Revision: 124561
archrelease: copy trunk to community-staging-any Added: ruby-pkgconfig/repos/community-staging-any/ ruby-pkgconfig/repos/community-staging-any/PKGBUILD (from rev 124560, ruby-pkgconfig/trunk/PKGBUILD) ----------+ PKGBUILD | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) Copied: ruby-pkgconfig/repos/community-staging-any/PKGBUILD (from rev 124560, ruby-pkgconfig/trunk/PKGBUILD) =================================================================== --- community-staging-any/PKGBUILD (rev 0) +++ community-staging-any/PKGBUILD 2014-12-25 14:18:09 UTC (rev 124561) @@ -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.6 +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=('f89c285286d9bb1607022225d042d8ff96d41d2755d4de80611d52f3ab0f7626') +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: