Date: Wednesday, January 3, 2018 @ 07:38:09
  Author: foutrelis
Revision: 277949

archrelease: copy trunk to community-staging-any

Added:
  hiera/repos/community-staging-any/
  hiera/repos/community-staging-any/PKGBUILD
    (from rev 277948, hiera/trunk/PKGBUILD)

----------+
 PKGBUILD |   25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

Copied: hiera/repos/community-staging-any/PKGBUILD (from rev 277948, 
hiera/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD                              (rev 0)
+++ community-staging-any/PKGBUILD      2018-01-03 07:38:09 UTC (rev 277949)
@@ -0,0 +1,25 @@
+# $Id$
+# Maintainer: Jonathan Steel <jsteel at archlinux.org>
+
+pkgname=hiera
+pkgver=3.4.2
+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=('5ba594aaab0976bc3e0e3bd97d6e5825')
+
+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
+}

Reply via email to