[arch-commits] Commit in hiera/repos (2 files)

Felix Yan felixonmars at archlinux.org
Thu Dec 26 00:18:38 UTC 2019


    Date: Thursday, December 26, 2019 @ 00:18:37
  Author: felixonmars
Revision: 541555

archrelease: copy trunk to community-staging-any

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

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

Copied: hiera/repos/community-staging-any/PKGBUILD (from rev 541554, hiera/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2019-12-26 00:18:37 UTC (rev 541555)
@@ -0,0 +1,24 @@
+# Maintainer: Jonathan Steel <jsteel at archlinux.org>
+
+pkgname=hiera
+pkgver=3.4.4
+pkgrel=3
+pkgdesc="Lightweight pluggable hierarchical database"
+arch=('any')
+url="https://projects.puppetlabs.com/projects/hiera"
+license=('APACHE')
+depends=('ruby')
+backup=('etc/hiera.yaml')
+source=(https://downloads.puppetlabs.com/$pkgname/$pkgname-$pkgver.tar.gz)
+md5sums=('0df0c943db0cf9c60a482258ca225c0b')
+
+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
+}



More information about the arch-commits mailing list