[arch-commits] Commit in hiera/trunk (PKGBUILD)
Tim Meusel
bastelfreak at gemini.archlinux.org
Tue Sep 14 19:42:36 UTC 2021
Date: Tuesday, September 14, 2021 @ 19:42:35
Author: bastelfreak
Revision: 1014842
rebuild hiera against ruby3
Modified:
hiera/trunk/PKGBUILD
----------+
PKGBUILD | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-09-14 19:41:59 UTC (rev 1014841)
+++ PKGBUILD 2021-09-14 19:42:35 UTC (rev 1014842)
@@ -1,14 +1,13 @@
# Maintainer: Tim Meusel <tim at bastelfreak.de>
-# Contributor: Jonathan Steel <jsteel at archlinux.org>
pkgname=hiera
pkgver=3.7.0
-pkgrel=1
+pkgrel=2
pkgdesc='Lightweight pluggable hierarchical database'
arch=('any')
url="https://github.com/puppetlabs/${pkgname}"
license=('APACHE')
-depends=('ruby2.7')
+depends=('ruby')
backup=('etc/hiera.yaml')
source=("${pkgname}-${pkgver}.tar.gz::https://downloads.puppetlabs.com/${pkgname}/${pkgname}-${pkgver}.tar.gz"
ruby3.patch)
@@ -22,7 +21,9 @@
package() {
cd "${pkgname}-${pkgver}"
- ruby-2.7 install.rb --destdir="${pkgdir}" --sitelibdir="$(ruby-2.7 -e 'puts RbConfig::CONFIG["vendorlibdir"]')" --mandir=/
+ ruby install.rb --destdir="${pkgdir}" --sitelibdir="$(ruby -e 'puts RbConfig::CONFIG["vendorlibdir"]')" --mandir=/
+ #ruby install.rb --destdir="${pkgdir}" --mandir=/
install -d "${pkgdir}"/var/lib/hiera/
- install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+ install -Dm644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}/"
+ install -Dm644 CONTRIBUTING.md README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
}
More information about the arch-commits
mailing list