Date: Friday, April 18, 2014 @ 17:29:45 Author: jsteel Revision: 109769
archrelease: copy trunk to community-any Added: hiera/repos/community-any/ hiera/repos/community-any/PKGBUILD (from rev 109768, hiera/trunk/PKGBUILD) ----------+ PKGBUILD | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) Copied: hiera/repos/community-any/PKGBUILD (from rev 109768, hiera/trunk/PKGBUILD) =================================================================== --- community-any/PKGBUILD (rev 0) +++ community-any/PKGBUILD 2014-04-18 15:29:45 UTC (rev 109769) @@ -0,0 +1,25 @@ +# $Id$ +# Maintainer: Jonathan Steel <jsteel at aur.archlinux.org> + +pkgname=hiera +pkgver=1.3.2 +pkgrel=2 +pkgdesc="Lightweight pluggable hierarchical database" +arch=('any') +url="http://projects.puppetlabs.com/projects/hiera" +license=('APACHE') +depends=('ruby') +source=(http://github.com/puppetlabs/$pkgname/archive/$pkgver.tar.gz) +backup=('etc/hiera.yaml') +md5sums=('239f70397f81a8c023e297ea15e6faea') + +package() { + cd "$srcdir"/$pkgname-$pkgver + + ruby install.rb --destdir="$pkgdir"/ --sitelibdir="$( ruby -e \ + 'puts RbConfig::CONFIG["vendorlibdir"]' )" --mandir=/ + + install -d "$pkgdir"/var/lib/hiera/ + + install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +}