[arch-commits] Commit in hiera/trunk (PKGBUILD)
Christian Rebischke
shibumi at archlinux.org
Sun Jan 5 11:16:39 UTC 2020
Date: Sunday, January 5, 2020 @ 11:16:38
Author: shibumi
Revision: 549306
upgpkg: hiera 3.6.0-1 refactored + sha512sums
Modified:
hiera/trunk/PKGBUILD
----------+
PKGBUILD | 21 +++++++++------------
1 file changed, 9 insertions(+), 12 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-01-05 11:07:09 UTC (rev 549305)
+++ PKGBUILD 2020-01-05 11:16:38 UTC (rev 549306)
@@ -1,24 +1,21 @@
# Maintainer: Jonathan Steel <jsteel at archlinux.org>
pkgname=hiera
-pkgver=3.4.4
-pkgrel=3
+pkgver=3.6.0
+pkgrel=1
pkgdesc="Lightweight pluggable hierarchical database"
arch=('any')
-url="https://projects.puppetlabs.com/projects/hiera"
+url="https://github.com/puppetlabs/hiera"
license=('APACHE')
depends=('ruby')
backup=('etc/hiera.yaml')
-source=(https://downloads.puppetlabs.com/$pkgname/$pkgname-$pkgver.tar.gz)
-md5sums=('0df0c943db0cf9c60a482258ca225c0b')
+source=("${pkgname}-${pkgver}.tar.gz::https://downloads.puppetlabs.com/${pkgname}/${pkgname}-${pkgver}.tar.gz")
+sha512sums=('e9819d0b166acca73321b6b6c23c404f2b03203d6fa934859918d47ec4ca6d234acff0c9f02012f756f239a719c00be4b48afb5b34b88069be2e67055a8f48e3')
package() {
- cd $pkgname-$pkgver
-
- ruby install.rb --destdir="$pkgdir" --sitelibdir="$( ruby -e \
- 'puts RbConfig::CONFIG["vendorlibdir"]' )" --mandir=/
-
- install -d "$pkgdir"/var/lib/hiera/
-
+ 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