Date: Monday, December 28, 2015 @ 23:24:17 Author: bpiotrowski Revision: 154741
archrelease: copy trunk to community-staging-any Added: hiera/repos/community-staging-any/ hiera/repos/community-staging-any/PKGBUILD (from rev 154740, hiera/trunk/PKGBUILD) ----------+ PKGBUILD | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) Copied: hiera/repos/community-staging-any/PKGBUILD (from rev 154740, hiera/trunk/PKGBUILD) =================================================================== --- community-staging-any/PKGBUILD (rev 0) +++ community-staging-any/PKGBUILD 2015-12-28 22:24:17 UTC (rev 154741) @@ -0,0 +1,25 @@ +# $Id$ +# Maintainer: Jonathan Steel <jsteel at archlinux.org> + +pkgname=hiera +pkgver=3.0.5 +pkgrel=2 +pkgdesc="Lightweight pluggable hierarchical database" +arch=('any') +url="http://projects.puppetlabs.com/projects/hiera" +license=('APACHE') +depends=('ruby') +backup=('etc/hiera.yaml') +source=(https://downloads.puppetlabs.com/$pkgname/$pkgname-$pkgver.tar.gz) +md5sums=('3f56853806c12d87f9bfbb12fd081030') + +package() { + cd $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 +}