[arch-commits] Commit in puppet/trunk (PKGBUILD)

Christian Rebischke shibumi at archlinux.org
Sun Nov 18 23:16:08 UTC 2018


    Date: Sunday, November 18, 2018 @ 23:16:08
  Author: shibumi
Revision: 408745

upgpkg: puppet 6.0.4-3

removed git directories and renamed vendor_module directories

Modified:
  puppet/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-11-18 22:37:44 UTC (rev 408744)
+++ PKGBUILD	2018-11-18 23:16:08 UTC (rev 408745)
@@ -11,7 +11,7 @@
 
 pkgname=puppet
 pkgver=6.0.4
-pkgrel=2
+pkgrel=3
 pkgdesc="Server automation framework and application"
 arch=('any')
 url="https://puppet.com/products/open-source-projects"
@@ -35,16 +35,16 @@
 _zone_commit=11db22ae85cf870a1d71c820ddf2f3d97de102ba
 
 source=("https://downloads.puppetlabs.com/${pkgname}/${pkgname}-${pkgver}.tar.gz"{,.asc}
-        "git+https://github.com/puppetlabs/puppetlabs-augeas_core#commit=${_augeas_commit}"
-        "git+https://github.com/puppetlabs/puppetlabs-cron_core#commit=${_cron_commit}"
-        "git+https://github.com/puppetlabs/puppetlabs-host_core#commit=${_host_commit}"
-        "git+https://github.com/puppetlabs/puppetlabs-mount_core#commit=${_mount_commit}"
-        "git+https://github.com/puppetlabs/puppetlabs-scheduled_task#commit=${_scheduled_commit}"
-        "git+https://github.com/puppetlabs/puppetlabs-selinux_core#commit=${_selinux_commit}"
-        "git+https://github.com/puppetlabs/puppetlabs-sshkeys_core#commit=${_sshkeys_commit}"
-        "git+https://github.com/puppetlabs/puppetlabs-yumrepo_core#commit=${_yumrepo_commit}"
-        "git+https://github.com/puppetlabs/puppetlabs-zfs_core#commit=${_zfs_commit}"
-        "git+https://github.com/puppetlabs/puppetlabs-zone_core#commit=${_zone_commit}"
+        "augeas_core::git+https://github.com/puppetlabs/puppetlabs-augeas_core#commit=${_augeas_commit}"
+        "cron_core::git+https://github.com/puppetlabs/puppetlabs-cron_core#commit=${_cron_commit}"
+        "host_core::git+https://github.com/puppetlabs/puppetlabs-host_core#commit=${_host_commit}"
+        "mount_core::git+https://github.com/puppetlabs/puppetlabs-mount_core#commit=${_mount_commit}"
+        "scheduled_task::git+https://github.com/puppetlabs/puppetlabs-scheduled_task#commit=${_scheduled_commit}"
+        "selinux_core::git+https://github.com/puppetlabs/puppetlabs-selinux_core#commit=${_selinux_commit}"
+        "sshkeys_core::git+https://github.com/puppetlabs/puppetlabs-sshkeys_core#commit=${_sshkeys_commit}"
+        "yumrepo_core::git+https://github.com/puppetlabs/puppetlabs-yumrepo_core#commit=${_yumrepo_commit}"
+        "zfs_core::git+https://github.com/puppetlabs/puppetlabs-zfs_core#commit=${_zfs_commit}"
+        "zone_core::git+https://github.com/puppetlabs/puppetlabs-zone_core#commit=${_zone_commit}"
         )
 sha512sums=('fcfc0a9e1a707945c89e3080c1795511fd28143576886552d8e3635d62f526d0b3f9ed2a400ecc0084b63906246cb86e176b288ac049d01d0f9cf47fc65fe332'
             'SKIP'
@@ -97,4 +97,6 @@
   cd ..
   install --directory "${pkgdir}/opt/puppetlabs/puppet/vendor_modules/"
   mv *_core "${pkgdir}/opt/puppetlabs/puppet/vendor_modules/"
+  # Search for unwanted .git directories and delete them
+  find "${pkgdir}/opt/puppetlabs/puppet/vendor_modules/" -type d -name .git -exec rm -rf {} +
 }


More information about the arch-commits mailing list